def METHOD_NAME(self):
    """
    Test case where false alarm probability is 1 and missed det prob is 0
    """
    SNRin = np.array([1.0, 2.0, 3.0, 4.0, 5.0, 5.1, 6.0])
    expected_MDresult = [True, True, True, True, False, False, False]
    for mod in self.allmods:
        with RedirectStreams(stdout=self.dev_null):
            obj = mod(FAP=1.0, MDP=0.0, **self.specs)
        FA, MD = obj.det_occur(
            SNRin, self.TL.OpticalSystem.observingModes[0], self.TL, 0, 1 * u.d
        )
        for x, y in zip(MD, expected_MDresult):
            self.assertEqual(x, y)
        self.assertEqual(FA, True)