public void TestEquals_IdEquals()
 {
     _sample  = new StringAggregateRootSample("a");
     _sample2 = new StringAggregateRootSample("a");
     Assert.True(_sample.Equals(_sample2));
     Assert.True(_sample == _sample2);
     Assert.False(_sample != _sample2);
 }
        public void TestEquals_Id_Null()
        {
            _sample  = new StringAggregateRootSample(null);
            _sample2 = new StringAggregateRootSample("a");
            Assert.False(_sample.Equals(_sample2));
            Assert.False(_sample == _sample2);
            Assert.False(_sample2 == _sample);

            _sample  = new StringAggregateRootSample("a");
            _sample2 = new StringAggregateRootSample(null);
            Assert.False(_sample.Equals(_sample2));
            Assert.False(_sample == _sample2);
            Assert.False(_sample2 == _sample);
        }