com.google.common.truth
Class SubjectFactory<S extends Subject<S,T>,T>

java.lang.Object
  extended by com.google.common.truth.SubjectFactory<S,T>
Direct Known Subclasses:
SubjectFactory

public abstract class SubjectFactory<S extends Subject<S,T>,T>
extends Object

A custom subject factory which will return a FooSubject (which is a Subject).

Author:
Christian Gruber ([email protected])

Constructor Summary
SubjectFactory()
           
 
Method Summary
abstract  S getSubject(FailureStrategy fs, T that)
           
 Class<S> getSubjectClass()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectFactory

public SubjectFactory()
Method Detail

getSubject

public abstract S getSubject(FailureStrategy fs,
                             T that)

getSubjectClass

@GwtIncompatible(value="reflection")
public Class<S> getSubjectClass()


Copyright © 2014. All rights reserved.