public void Should_get_null_entity_by_identity_when_its_not_found_in_repository() { _session.Stub(x => x.Get<IEntity>(1)).Return(null); var actual = CreateSUT().GetEntityById(1); Assert.That(actual, Is.Null); }