public void WebThreeState_Should_Exist() { webThreeState = Store.GetState <WebThreeState>(); webThreeState.ShouldNotBe(null); webThreeState.OwnedTokenIdList.Count.ShouldBe(0); }
public async Task ClientActionTest() { var Action = new GetNftTypesClientFeaturesAction(); WebThreeState ActionResponse = await Mediator.Send(Action); ActionResponse.ShouldNotBe(null); ActionResponse.TotalNftTypes.ShouldBeGreaterThan((uint)2); }
public async Task ClientActionTest() { var aGetNftByTypeAction = new GetNftByTypeAction { GetNftType = 4 }; WebThreeState aGetNftByTypeResponse = await Mediator.Send(aGetNftByTypeAction); aGetNftByTypeResponse.ShouldNotBe(null); aGetNftByTypeResponse.CurrentNftTemplate.ShouldNotBe(null); aGetNftByTypeResponse.CurrentNftTemplate.Name.ShouldBeOfType <string>(); }
public async Task ShouldReturnWebThreeState() { WebThreeState webThreeState = await Mediator.Send(new GetAllOwnedTokensAction()); webThreeState.ShouldNotBe(null); }