def METHOD_NAME(self):
    aimg = self.renderScene(self.scene)
    self.assertTrue(np.all(aimg[:, :, 0:3] == self.GRAY))
    self.assertTrue(np.all(aimg[:, :, 3] == 255))
    self.layer.visible = False
    aimg = self.renderScene(self.scene)
    self.assertTrue(np.all(aimg[:, :, 0:3] == 0))  # all white
    self.assertTrue(np.all(aimg[:, :, 3] == 0))
    self.layer.visible = True
    aimg = self.renderScene(self.scene)
    self.assertTrue(np.all(aimg[:, :, 0:3] == self.GRAY))
    self.assertTrue(np.all(aimg[:, :, 3] == 255))