Пример #1
0
 public void Setup()
 {
     m_FakePinNoteOperations = new Mock <IPinNoteOperations>();
     m_PinNoteOperations     = new PinNoteOperations();
     //Controller request
     //pinNoteController = new PinNoteController()
     //{
     //    Request = new HttpRequestMessage()
     //    {
     //        Properties = { { HttpPropertyKeys.HttpConfigurationKey, new HttpConfiguration() } }
     //    }
     //};
 }
Пример #2
0
 /// <summary>
 /// Ctor
 /// </summary>
 public PinNoteController()
 {
     m_PinNoteOperations = new PinNoteOperations();
 }