Api_PracticeTest::testCreate PHP Method

testCreate() public method

public testCreate ( )
    public function testCreate()
    {
        $source = file_get_contents(__DIR__ . '/files/Practice.xml');
        $this->post('Organization', $source, array('Category' => services\Practice::getOeFhirProfile() . '; scheme=http://hl7.org/fhir/tag/profile'));
        $this->get($this->response->getLocation());
        $this->assertXmlEquals($source);
    }