public void DoesExistScrumMasterInProjectAsync_ReturnsFalseIfScrumMasterDoesNotExist() { var context = GetContext(); try { ProjectUserRepository repo = new ProjectUserRepository(context); var doesExist = repo.DoesExistScrumMasterInProjectAsync(1).Result; Assert.False(doesExist); } finally { context.Database.EnsureDeleted(); context.Dispose(); } }