Unary matchers

be_empty
open l_cursor for select * from dual where 1 = 0;

ut.expect( l_cursor ).to_( be_empty() );
be_false
  ut.expect( ( 1 = 0 ) ).to_( be_false() );
be_not_null
  ut.expect( to_clob('ABC') ).to_( be_not_null() );
be_null
  ut.expect( 1 ).to_( be_null() );
be_true
  ut.expect( ( 1 = 1 ) ).to_( be_true() );
Comments