com.google.inject.testing.throwingproviders

Class CheckedProviderSubject<T,P extends CheckedProvider<T>>

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.common.truth.Subject

        com.google.common.truth.Subject.Factory<SubjectT extends com.google.common.truth.Subject<SubjectT,ActualT>,ActualT>
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      static <T,P extends CheckedProvider<T>>
      CheckedProviderSubject<T,P>
      assertThat(P provider) 
      static <T,P extends CheckedProvider<T>>
      com.google.common.truth.Subject.Factory<CheckedProviderSubject<T,P>,P>
      checkedProviders() 
      com.google.common.truth.Subject<?,Object> providedValue()
      Allows for assertions on the value provided by this provider.
      com.google.common.truth.ThrowableSubject thrownException()
      Allows for assertions on the exception thrown by this provider.
      • Methods inherited from class com.google.common.truth.Subject

        actual, actualAsString, actualCustomStringRepresentation, check, check, equals, fail, fail, fail, failComparing, failComparing, failWithActual, failWithActual, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutActual, failWithoutSubject, failWithRawMessage, failWithRawMessageAndCause, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named, toString

Copyright © 2006–2018 Google, Inc.. All rights reserved.