public async Task GetScriptTag_ValidFallbackBundleAsync_ShouldReturnAsyncScriptTag() { // Arrange var fixture = new GetScriptTagFixture(AssetServiceBaseFixture.InvalidBundle, AssetServiceBaseFixture.ValidFallbackBundleWithoutExtension, ScriptLoad.Async); // Act var result = await fixture.GetScriptTagAsync(); // Assert fixture.VerifyFallbackExisting(result); }
public async Task GetLinkTag_ValidFallbackBundleWithExtension_ShouldReturnStyleTag() { // Arrange var fixture = new GetScriptTagFixture(AssetServiceBaseFixture.InvalidBundle, GetScriptTagFixture.ValidFallbackBundleWithExtension); // Act var result = await fixture.GetScriptTagAsync(); // Assert fixture.VerifyFallbackExisting(result); }