Esempio n. 1
0
        public void PrepareProfileDB()
        {
            new Mock().PromiseProfile();

            var profileDatabase = new MockProfileDatabase();
            Subscribe(Messages.REQUEST_PROFILE_DATABASE, obj =>
                Publish(Messages.REQUEST_PROFILE_DATABASE_RESPONSE, profileDatabase));
        }
Esempio n. 2
0
        public void PrepareProfileDB()
        {
            new Mock().PromiseProfile();

            var profileDatabase = new MockProfileDatabase();

            Subscribe(Messages.REQUEST_PROFILE_DATABASE, obj =>
                      Publish(Messages.REQUEST_PROFILE_DATABASE_RESPONSE, profileDatabase));
        }