1..48 # ->setServiceDefinitions() ->addServiceDefinitions() ->getServiceDefinitions() ->setServiceDefinition() ->getServiceDefinition() ->hasServiceDefinition() ok 1 - ->setServiceDefinitions() sets the service definitions ok 2 - ->hasServiceDefinition() returns true if a service definition exists ok 3 - ->hasServiceDefinition() returns false if a service definition does not exist ok 4 - ->getServiceDefinition() returns a service definition if defined ok 5 - ->setServiceDefinition() implements a fuild interface by returning the service reference ok 6 - ->addServiceDefinitions() adds the service definitions ok 7 - ->getServiceDefinition() throws an InvalidArgumentException if the service definition does not exist # ->register() ok 8 - ->register() registers a new service definition ok 9 - ->register() returns the newly created sfServiceDefinition instance # ->setAlias() ok 10 - ->setAlias() defines a new service ok 11 - ->setAlias() creates a service that is an alias to another one # ->getAliases() ok 12 - ->getAliases() returns all service aliases ok 13 - ->getAliases() does not return aliased services that have been overridden ok 14 - ->getAliases() does not return aliased services that have been overridden # ->hasService() ok 15 - ->hasService() returns false if the service does not exist ok 16 - ->hasService() returns true if a service definition exists ok 17 - ->hasService() returns true if a service definition exists ok 18 - ->hasService() returns true if a service exists ok 19 - ->hasService() returns true if a service exists # ->getService() ok 20 - ->getService() throws an InvalidArgumentException if the service does not exist ok 21 - ->getService() returns the service definition associated with the id ok 22 - ->getService() returns the service associated with the id ok 23 - ->getService() returns the service associated with the id even if a definition has been defined ok 24 - ->getService() throws a LogicException if the service has a circular reference to itself ok 25 - ->getService() always returns the same instance if the service is shared # ->getServiceIds() ok 26 - ->getServiceIds() returns all defined service ids # ->createService() # file ok 27 - ->createService() requires the file defined by the service definition ok 28 - ->createService() replaces parameters in the file provided by the service definition # ->createService() # class ok 29 - ->createService() replaces parameters in the class provided by the service definition # ->createService() # arguments ok 30 - ->createService() replaces parameters and service references in the arguments provided by the service definition # ->createService() # constructor ok 31 - ->createService() calls the constructor to create the service instance ok 32 - ->createService() passes the arguments to the constructor # ->createService() # method calls ok 33 - ->createService() replaces the values in the method calls arguments # ->createService() # configurator ok 34 - ->createService() calls the configurator ok 35 - ->createService() calls the configurator ok 36 - ->createService() calls the configurator ok 37 - ->createService() throws an InvalidArgumentException if the configure callable is not a valid callable # ->resolveValue() ok 38 - ->resolveValue() returns its argument unmodified if no placeholders are found ok 39 - ->resolveValue() replaces placeholders by their values ok 40 - ->resolveValue() replaces arguments that are just a placeholder by their value without casting them to strings ok 41 - ->resolveValue() replaces placeholders in keys and values of arrays ok 42 - ->resolveValue() replaces placeholders in nested arrays ok 43 - ->resolveValue() supports % escaping by doubling it ok 44 - ->resolveValue() supports % escaping by doubling it ok 45 - ->resolveValue() throws a InvalidArgumentException if a placeholder references a non-existant parameter ok 46 - ->resolveValue() throws a InvalidArgumentException if a placeholder references a non-existant parameter # ->resolveServices() ok 47 - ->resolveServices() resolves service references to service instances ok 48 - ->resolveServices() resolves service references to service instances in nested arrays # Looks like everything went fine.