public function testSetShortName() { // new entity $fos = new FieldOfStudy(); // Use the setShortName method $fos->setShortName("BIT"); // Assert the result $this->assertEquals("BIT", $fos->getShortName()); }