transform(new Foo(), new Transformer\ToString()); $this->assertEquals('to_string', $actual); } }