$this->assertTrue($builder->get('foo1')->called,'->createService() calls the factory method to create the service instance');
$this->assertEquals(array('foo'=>'bar','bar'=>'foo',$builder->get('bar')),$builder->get('foo1')->arguments,'->createService() passes the arguments to the factory method');