Skip to content

Commit

Permalink
Fix spacing and naming
Browse files Browse the repository at this point in the history
  • Loading branch information
barryosull committed Jun 9, 2017
1 parent 2ada421 commit b0ce952
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/Deserializer/Method.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand All @@ -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());
}
}

0 comments on commit b0ce952

Please sign in to comment.