Esempio n. 1
0
 public void SetUp()
 {
     var factory =
         new PomonaJsonSerializerFactory(new ClientSerializationContextProvider(this.clientTypeMapper,
             Substitute.For<IPomonaClient>()));
     this.deserializer = factory.GetDeserializer();
 }
Esempio n. 2
0
        public void SetUp()
        {
            var factory      = new PomonaJsonSerializerFactory();
            var pomonaClient = Substitute.For <IPomonaClient>();

            this.deserializer =
                factory.GetDeserializer(new ClientSerializationContextProvider(this.clientTypeMapper, pomonaClient, pomonaClient));
        }