com.emarsys.ecommon.test
Interface Assertion

All Known Implementing Classes:
ChainedAssertion

public interface Assertion

Encapsulates an Assertion in a unit test case.

Author:
Michael "kULO" Kulovits

Method Summary
 void check()
          Checks if the assertion is correct.
 

Method Detail

check

void check()
           throws java.lang.Exception,
                  java.lang.AssertionError
Checks if the assertion is correct.

Throws:
java.lang.Exception - - if a error occures
java.lang.AssertionError - - if the assertion is not correct/fails


Copyright © 2010 emarsys AG. All Rights Reserved.