Public Methods
 FunctionDefined By
  
assertThat(... rest):void
Creates a hamcrest style assertion using assertThat
org.flexunit
  
assumeThat(actual:Object, matcher:Matcher):void
org.flexunit
Function detail
assertThat()function
public function assertThat(... rest):void

Creates a hamcrest style assertion using assertThat

Parameters

... rest — Rest may specify any values to be tested. It must include a left and a right value as well as at least one matcher. An error message may also be passed if passed as the first argument.


Example
             assertThat( "3 is usually 3", 3, equals( 4 ) );
     
assumeThat()function 
public function assumeThat(actual:Object, matcher:Matcher):void

Parameters

actual:Object
 
matcher:Matcher