public function testBasics()
{
$part = new Part();
$part->setName('TEST');
$part->setCategory($this->getContainer()->get('partkeepr.part.category_service')->getRootNode());
$part->setStorageLocation($this->fixtures->getReference('storagelocation.first'));
$this->getContainer()->get('doctrine.orm.default_entity_manager')->persist($part);
$this->getContainer()->get('doctrine.orm.default_entity_manager')->flush($part);
}