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) |
isComparableTohasExpectation, isEqualTo, isInstanceOf, isNotEqualTo, isNotNull, isNull, isOneOf, isOneOf, matchespublic PrototypeStringExpectation(Prototype<?> prototype, PrototypeProperty property)
public void hasLength(int expectedSize)
public void hasPattern(String pattern)
Copyright © 2015. All rights reserved.