예제 #1
0
 public void SIMPL_should_be_able_to_consume_the_Rosettian_Provisioning_Service_and_call_GetEquipmentModelsAndTypes_method_without_throwing_an_exception()
 {
     try
     {
         using (var client = new RosettianClient())
         {
             client.GetEquipmentModelsAndTypes(UserDto.SIMPLSystemUser);
         }
     }
     catch (Exception ex)
     {
         Assert.Fail("Exception was thrown: {0}", ex);
     }
 }
예제 #2
0
 /// <summary>
 /// EquipmentTypes - calls Rosettian's GetEquipmentModelsAndTypes
 /// </summary>
 /// <returns></returns>
 protected static IEnumerable<EquipmentTypeDto> EquipmentTypes()
 {
     using (var client = new RosettianClient())
     {
         return client.GetEquipmentModelsAndTypes(user);
     }
 }