org.javalite.test.jspec
Class JSpecSupport

java.lang.Object
  extended by org.javalite.test.jspec.JSpecSupport

public class JSpecSupport
extends Object

This is a class to be extended to gain easy access to JSpec methods.

Author:
Igor Polevoy

Constructor Summary
JSpecSupport()
           
 
Method Summary
 Expectation<Object> a(Object o1)
           
<T> void
expect(DifferenceExpectation<T> expectation)
           
<T> void
expect(ExceptionExpectation<T> expectation)
           
<T> Expectation<T>
it(T o1)
          Wrapper for JSpec.it(T)
 Expectation<Object> the(Object o1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSpecSupport

public JSpecSupport()
Method Detail

a

public Expectation<Object> a(Object o1)

the

public Expectation<Object> the(Object o1)

it

public <T> Expectation<T> it(T o1)
Wrapper for JSpec.it(T)


expect

public <T> void expect(ExceptionExpectation<T> expectation)

expect

public <T> void expect(DifferenceExpectation<T> expectation)


Copyright © 2015 JavaLite. All rights reserved.