def test_lvcreate_is_mocked(self):
        executable_injector = mock.Mock()

        lvsubsystem = lvmlib.LVSubsystem(None, executable_injector)

        self.assertTrue(
            mock.call('/usr/sbin/lvcreate', lvsubsystem.fake_lvcreate)
            in executable_injector.mock_calls
        )