Feature: Resource object In order to execute code As a PHP developer I want a PHP object that represents a HTTP resource Scenario: Load a non existant resource Given the request URI of "/resourcetest" When I create a request object And I load the resource And execute the request Then the response code should be "404" And the response body should be 'Nothing was found for the resource "/resourcetest".' Scenario: Load a resource that exists Given the request URI of "/resourcetest/one" When I create a request object And I load the resource And execute the request Then the response code should be "200" And the response body should be 'test'