Example #1
0
 public void SetUp()
 {
     _stringFormatterService = new BusinessObjectStringFormatterService();
     _mockRepository         = new MockRepository();
     _mockBusinessObject     = _mockRepository.StrictMock <IBusinessObject> ();
     _mockProperty           = _mockRepository.StrictMock <IBusinessObjectStringProperty> ();
 }
 public void SetUp()
 {
     _stringFormatterService = new BusinessObjectStringFormatterService();
     _mockRepository         = new MockRepository();
     _mockBusinessObject     = _mockRepository.StrictMock <IBusinessObject>();
     _mockProperty           = _mockRepository.StrictMock <IBusinessObjectNumericProperty>();
     _mockValues             = new IFormattable[]
     {
         _mockRepository.StrictMock <IFormattable>(),
         _mockRepository.StrictMock <IFormattable>(),
         _mockRepository.StrictMock <IFormattable>()
     };
 }
 public void SetUp()
 {
     _stringFormatterService = new BusinessObjectStringFormatterService();
     _businessObjectStub     = MockRepository.GenerateStub <IBusinessObject> ();
     _propertyStub           = MockRepository.GenerateStub <IBusinessObjectReferenceProperty> ();
 }