public class PrototypeStringExpectation extends PrototypeComparableExpectation<String>
| Constructor and Description |
|---|
PrototypeStringExpectation(Prototype<?> prototype,
PrototypeProperty property) |
| Modifier and Type | Method and Description |
|---|---|
void |
hasLength(int expectedSize) |
void |
hasPattern(String pattern) |
isComparableToisEqualTo, isInstanceOf, isNotNull, isNull, matches, setExpectationpublic PrototypeStringExpectation(Prototype<?> prototype, PrototypeProperty property)
public void hasLength(int expectedSize)
public void hasPattern(String pattern)
Copyright © 2014. All rights reserved.