public async Task GetStyleTag_ValidFallbackBundle_ShouldReturnStyleTag() { // Arrange var fixture = new GetStyleTagFixture(AssetServiceBaseFixture.InvalidBundle, AssetServiceBaseFixture.ValidFallbackBundleWithoutExtension); // Act var result = await fixture.GetStyleTagAsync(); // Assert fixture.VerifyFallbackExisting(result); }
public async Task GetStyleTag_ValidBundleWithExtension_ShouldReturnStyleTag() { // Arrange var fixture = new GetStyleTagFixture(GetStyleTagFixture.ValidBundleWithExtension); // Act var result = await fixture.GetStyleTagAsync(); // Assert fixture.VerifyExisting(result); }
public async Task GetStyleTag_InvalidFallbackBundle_ShouldReturnEmptyHtmlString() { // Arrange var fixture = new GetStyleTagFixture(AssetServiceBaseFixture.InvalidBundle, AssetServiceBaseFixture.InvalidBundle); // Act var result = await fixture.GetStyleTagAsync(); // Assert fixture.VerifyFallbackNonExisting(result); }
public async Task GetStyleTag_EmptyString_ShouldReturnEmptyHtmlString() { // Arrange var fixture = new GetStyleTagFixture(string.Empty); // Act var result = await fixture.GetStyleTagAsync(); // Assert fixture.VerifyEmpty(result); }