public function testSetName() { // new entity $department = new Department(); // Use the setName method $department->setName("NTNUx2"); // Assert the result $this->assertEquals("NTNUx2", $department->getName()); }