Package com.google.common.truth

Examples of com.google.common.truth.StringSubject


  @Test public void genericErasureWorkaround() {
    SubjectFactory<StringSubject, String> factory =
        new SubjectFactory<StringSubject, String>() {
          @Override public StringSubject getSubject(FailureStrategy fs, String target) {
            return new StringSubject(fs, target);
          }
        };
    assertThat(factory.getSubjectClass()).is(StringSubject.class);
  }
View Full Code Here

TOP

Related Classes of com.google.common.truth.StringSubject

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.