1..17
Warning: ob_start(): function '' not found or invalid function name in /home/montessovm/www/lib/vendor/symfony/lib/config/sfApplicationConfiguration.class.php on line 155
# ::getInstance()
ok 1 - ::createInstance() takes an application configuration and returns application context instance
ok 2 - ::createInstance() creates application name context instance
ok 3 - ::getInstance() returns the named context if it already exists
# ::switchTo()
ok 4 - ::switchTo() changes the default context instance returned by ::getInstance()
ok 5 - ::switchTo() changes the default context instance returned by ::getInstance()
# ->get() ->set() ->has()
ok 6 - ->has() returns false if no object of the given name exist
ok 7 - ->has() returns true if an object is stored for the given name
ok 8 - ->get() returns the object associated with the given name
ok 9 - ->get() throws an sfException if no object is stored for the given name
# Array access for context objects
ok 10 - ->offsetExists() returns true if context object exists
ok 11 - ->offsetExists() returns false if context object does not exist
ok 12 - ->offsetGet() returns attribute by name
ok 13 - ->offsetSet() sets object by name
ok 14 - ->offsetUnset() unsets object by name
# ->__call()
ok 15 - ->__call() sets context objects by name using setName()
ok 16 - ->__call() returns context objects by name using getName()
ok 17 - ->__call() throws an sfException if factory / method does not exist
# Looks like everything went fine.