org.junit.contrib.truth.subjects
Class StringSubject
java.lang.Object
org.junit.contrib.truth.subjects.Subject<StringSubject,String>
org.junit.contrib.truth.subjects.StringSubject
@GwtCompatible
public class StringSubject
- extends Subject<StringSubject,String>
Propositions for String subjects
- Author:
- David Saff, Christian Gruber (cgruber@israfil.net)
Nested classes/interfaces inherited from class org.junit.contrib.truth.subjects.Subject |
Subject.And<C> |
Methods inherited from class org.junit.contrib.truth.subjects.Subject |
check, fail, failWithoutSubject, getSubject, is, isA, isEqualTo, isNotA, isNotEqualTo, isNotNull, isNull, nextChain |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringSubject
public StringSubject(FailureStrategy failureStrategy,
String string)
contains
public Subject.And<StringSubject> contains(String string)
startsWith
public Subject.And<StringSubject> startsWith(String string)
endsWith
public Subject.And<StringSubject> endsWith(String string)
Copyright © 2014. All Rights Reserved.