public function testAddPropertyAction()
{
$session = new SessionContainer();
$session->offsetSet('document-type', array('tabs' => array(1 => array('properties' => array()), 2 => array('properties' => array('name' => 'Test', 'identifier' => 'Test', 'tab' => 2, 'description' => 'Test', 'is_required' => true, 'datatype' => 'Test')))));
$this->dispatch('/admin/development/document-type/create-property', 'POST', array('name' => 'Test', 'identifier' => 'Test', 'tab' => 1, 'description' => 'Test', 'is_required' => true, 'datatype' => 'Test'));
$this->assertResponseStatusCode(200);
$this->assertModuleName('GcDevelopment');
$this->assertControllerName('DocumentTypeController');
$this->assertControllerClass('DocumentTypeController');
$this->assertMatchedRouteName('development/document-type/add-property');
}