From b0ce952df0ee78aefd4f63056bb90ff0bc80ee70 Mon Sep 17 00:00:00 2001 From: Barry O Sullivan Date: Fri, 9 Jun 2017 15:31:35 +0100 Subject: [PATCH] Fix spacing and naming --- test/Deserializer/Method.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/Deserializer/Method.php b/test/Deserializer/Method.php index 15d1bba..a4f2948 100644 --- a/test/Deserializer/Method.php +++ b/test/Deserializer/Method.php @@ -36,8 +36,6 @@ public function setUp() $this->serializer = new \EventSourced\ValueObject\Serializer\Serializer($reflector, $extensions); $this->deserializer = new Deserializer\Deserializer($reflector, $extensions); - - $this->car = new Vehicle( new Uuid($this->serialized_method_argument['vehicle']['id']), new MaxSpeed(150), @@ -51,9 +49,9 @@ public function setUp() public function test_deserialize_into_method() { - $car_checker = new VehicleChecker(); + $vehicle_checker = new VehicleChecker(); - $method = $this->deserializer->deserializeMethod($car_checker, "acceptAndReturnVehicle", $this->serialized_method_argument); + $method = $this->deserializer->deserializeMethod($vehicle_checker, "acceptAndReturnVehicle", $this->serialized_method_argument); $this->assertEquals($this->car, $method->run()); } }