/** * Test that Id is null at the beginning. */ public function testGetId() { $this->assertNull($this->galleryHasMedia->getId()); }