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>
    • Field Summary

      • Fields inherited from class com.google.common.truth.Subject

        failureStrategy
    • Method Summary

      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, equals, fail, fail, fail, failComparing, failComparing, failWithBadResults, failWithCustomSubject, failWithoutActual, failWithoutSubject, failWithRawMessage, failWithRawMessageAndCause, getDisplaySubject, getSubject, hashCode, ignoreCheck, internalCustomName, isAnyOf, isEqualTo, isIn, isInstanceOf, isNoneOf, isNotEqualTo, isNotIn, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, named

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