Exemple #1
0
        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);
        }
Exemple #2
0
 protected override async Task Because()
 {
     _snapshot = await sut.MapToSnapshot(_ontogeny);
 }