public function testCategoryRequired()
{
$part = new Part();
$part->setName('TEST');
$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);
}