public void Download_KeyIsCorrect_MemoryTable_is_returned() { //arrange PublicGoogleMemorySourceSupplier target = CreatePublicGoogleMemorySourceSupplier(); //act var result = target.Download("Done"); //assert }
public void GetSourcesList_ListOf2_is_returned() { //arrange var correctResults = new string[] { "InProcess", "Atlas", "Done", "New" }; PublicGoogleMemorySourceSupplier target = CreatePublicGoogleMemorySourceSupplier(); //act var result = target.GetSourcesList(); //assert foreach (var correctResult in correctResults) { Assert.True(result.Contains(correctResult), string.Format("{0} is missing", correctResult)); } }