diff --git a/src/Transformer/ToString.php b/src/Transformer/ToString.php new file mode 100644 index 0000000..de46d46 --- /dev/null +++ b/src/Transformer/ToString.php @@ -0,0 +1,14 @@ +transform(new Foo(), new Transformer\ToString()); + $this->assertEquals('to_string', $actual); + } +} diff --git a/tests/unit/fixtures/Foo.php b/tests/unit/fixtures/Foo.php new file mode 100644 index 0000000..780842c --- /dev/null +++ b/tests/unit/fixtures/Foo.php @@ -0,0 +1,11 @@ +