示例#1
0
        public void AssignsValue()
        {
            var aggregateId = new AggregateId <int>(5);

            Assert.AreEqual(5, aggregateId.Value);
        }
示例#2
0
        public void ImplicitAssignmentToType()
        {
            AggregateId <int> aggregateId = 5;

            Assert.AreEqual(5, aggregateId.Value);
        }