protected override async Task Context() { await base.Context(); _ontogeny = new UserDefinedOntogeny { Name = "UserDefined", Description = "UserDefined description", Table = _distributedTableFormula }; _snapshot = await sut.MapToSnapshot(_ontogeny); A.CallTo(() => _distributedTableFormulaMapper.MapToModel(_snapshotTable)).Returns(_distributedTableFormula); }
protected override async Task Because() { _snapshot = await sut.MapToSnapshot(_ontogeny); }