when($result = new SUT('foo', 0)) ->then ->object($result) ->isInstanceOf(HoaException::class); } }