public async void GetSoldier() { SoldierMookup.Start(); var unit = await SoldierDomain.Instance.GetSoldier(1); Assert.Equal(1, unit.IdEfetivo); }
public async void AddSoldier() { EfetivoModel model = await SoldierMookup.Add("Lauro de Freitas", -3); var resultado = await SoldierDomain.Instance.AddSoldier(model); Assert.Equal(model.IdEfetivo, resultado.IdEfetivo); }
public static async void Start() { await SoldierDomain.Instance.AddSoldier(await SoldierMookup.Add("Savastane", 1)); await SoldierDomain.Instance.AddSoldier(await SoldierMookup.Add("Yoseph", 2)); }