public void GetScheduledResourcesReturnsDynamicService() { var esb = new GetScheduledResources(); var result = esb.CreateServiceEntry(); Assert.AreEqual(esb.HandlesType(), result.Name); Assert.AreEqual("<DataList></DataList>", result.DataListSpecification.ToString()); Assert.AreEqual(1, result.Actions.Count); var serviceAction = result.Actions[0]; Assert.AreEqual(esb.HandlesType(), serviceAction.Name); Assert.AreEqual(enActionType.InvokeManagementDynamicService, serviceAction.ActionType); Assert.AreEqual(esb.HandlesType(), serviceAction.SourceMethod); }
public void GetScheduledResources_ServiceName() { var esbMethod = new GetScheduledResources(); Assert.AreEqual("GetScheduledResources", esbMethod.HandlesType()); }