示例#1
0
 public Service(CommunicatorDbContex db)
 {
     FriendRelation = new FriendRelationServiceImpl(db);
     Message        = new MessageSerciveImpl(db);
     Payment        = new PaymentServiceImpl(db);
     User           = new UserServiceImpl(db);
 }
 public void SetUp()
 {
     Db.Recreate();
     _mock    = Mock.Auto();
     _service = _mock.Create <PaymentServiceImpl>();
 }