public static function thatBool($string)
{
return BooleanAssert::that($string);
}
/** * @test */ public function isPresentShouldReturnTrueForNotNull() { //given $optional = Optional::fromNullable(new stdClass()); //when $present = $optional->isPresent(); //then Assert::thatBool($present)->isTrue(); }