async def METHOD_NAME(self):
    self.dps[self.switch_dps] = False
    async with assert_device_properties_set(
        self.switch_subject._device, {self.switch_dps: True}
    ):
        await self.switch_subject.async_toggle()
    self.dps[self.switch_dps] = True
    async with assert_device_properties_set(
        self.switch_subject._device, {self.switch_dps: False}
    ):
        await self.switch_subject.async_toggle()