ch.elca.el4j.tests.util.codingsupport
Class RejectTest

java.lang.Object
  extended by ch.elca.el4j.tests.util.codingsupport.RejectTest

public class RejectTest
extends Object

This tests check the behavior of the Reject class.

Author:
Andreas Bur (ABU)
File-location:
RejectTest
Last check-in date:
2009-12-01 10:59:54 +0100 (Di, 01. Dez 2009) by jonasha for revision 4010

Constructor Summary
RejectTest()
           
 
Method Summary
 void testIfEmptyCollection()
          Checks Reject.ifEmpty(Collection).
 void testIfEmptyString()
          Checks Reject.ifEmpty(String).
 void testIfNull()
          Checks Reject.ifNull(Object).
 void testIfNull2()
          Check with a subclass of RuntimeException Checks Reject.ifNull(Object).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RejectTest

public RejectTest()
Method Detail

testIfNull

public void testIfNull()
Checks Reject.ifNull(Object).


testIfNull2

public void testIfNull2()
Check with a subclass of RuntimeException Checks Reject.ifNull(Object).


testIfEmptyCollection

public void testIfEmptyCollection()
Checks Reject.ifEmpty(Collection).


testIfEmptyString

public void testIfEmptyString()
Checks Reject.ifEmpty(String).



Copyright © 2005-2011 ELCA. All Rights Reserved.