def METHOD_NAME(self):
    '''
    Test mocked Linux NProc for plyer.cpu.
    '''
    cpu = platform_import(
        platform='linux',
        module_name='cpu',
        whereis_exe=MockedNProc.whereis_exe
    )
    cpu.Popen = MockedNProc
    cpu = cpu.instance()
    self.assertEqual(
        cpu.logical, MockedNProc.logical()
    )