Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
msvrtan committed Jul 28, 2017
1 parent 67e8992 commit fca4dff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/NullDev/Skelton/Uuid/Handler/CreateUuidHandlerSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace spec\NullDev\Skelton\Uuid\Handler;

use NullDev\Skelton\Uuid\Command\CreateUuidClass;
use NullDev\Skelton\Uuid\Handler\CreateUuidHandler;
use PhpSpec\ObjectBehavior;

Expand All @@ -18,4 +19,9 @@ public function it_is_initializable()
{
$this->shouldHaveType(CreateUuidHandler::class);
}

public function it_will_handle_creating_uuid_class(CreateUuidClass $command)
{
$this->handle($command);
}
}
6 changes: 6 additions & 0 deletions src/NullDev/Skelton/Uuid/Handler/CreateUuidHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@

namespace NullDev\Skelton\Uuid\Handler;

use NullDev\Skelton\Uuid\Command\CreateUuidClass;

/**
* @see CreateUuidHandlerSpec
* @see CreateUuidHandlerTest
*/
class CreateUuidHandler
{
public function handle(CreateUuidClass $command)
{
// TODO: write logic here
}
}

0 comments on commit fca4dff

Please sign in to comment.