public void Delete_StateUnderTest_ExpectedBehaviorNewEmployee() { // Arrange var newEmp = new EmployeeModel() { Age = 33, Name = "Test User", State = "Texas", Country = "USA", Department = EmployeeDepartment.IT }; // Act // Get Current count of employees var initResult = employeeDB.EmployeeCollection().ToArray(); // Add New Employee with Update var addResult = employeeDB.Update(newEmp); // Get updated count of employees var updatedResult = employeeDB.EmployeeCollection().ToArray(); /// Delete the Employee var result = employeeDB.Delete(addResult.id); // Get result after delete var finalResult = employeeDB.EmployeeCollection().ToArray(); // Assert Assert.IsNotNull(result); Assert.AreEqual(finalResult.Length, initResult.Length); }