public async Task CorrectSkillsReturnedWhenIdInMessage() { var handler = new SkillListQueryHandlerAsync(Context); var result = await handler.Handle(new SkillListQueryAsync { OrganizationId = 1 }); Assert.Equal(3, result.Count()); }
public async Task AllSkillsReturnedWhenNoIdInMessage() { var handler = new SkillListQueryHandlerAsync(Context); var result = await handler.Handle(new SkillListQueryAsync()); Assert.Equal(7, result.Count()); }