Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [TestCase(new int[] { 1, 2, 3 })]
- [TestCase(new int[] { 0 })]
- [TestCase(new int[] {})]
- public void FetchCommandShouldReturnCopyOfData(int[] expectedData)
- {
- // Arrange
- this.database = new Database.Database(expectedData);
- // Act
- int[] resultArray = database.Fetch();
- // Assert
- CollectionAssert.AreEqual(expectedData,resultArray);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement