when($result = new \Mock\Hoa\Stream\IStream\Touchable()) ->then ->object($result) ->isInstanceOf(SUT::class) ->isInstanceOf(LUT\IStream\Stream::class); } public function case_constants() { $this ->when($result = SUT::OVERWRITE) ->then ->boolean($result) ->isEqualTo(true) ->when($result = SUT::DO_NOT_OVERWRITE) ->then ->boolean($result) ->isEqualTo(false) ->when($result = SUT::MAKE_DIRECTORY) ->then ->boolean($result) ->isEqualTo(true) ->when($result = SUT::DO_NOT_MAKE_DIRECTORY) ->then ->boolean($result) ->isEqualTo(false); } }