public async Task WhenUserNotInRole_ThenIsGrantedPermissionToResetWindowsUserReturnsFalse( [WindowsInstance] ResourceTask <InstanceLocator> testInstance, [Credential(Role = PredefinedRole.ComputeViewer)] ResourceTask <ICredential> credential) { var locator = await testInstance; var adapter = new ComputeEngineAdapter(await credential); var result = await adapter.IsGrantedPermissionToResetWindowsUser( locator); Assert.IsFalse(result); }