public void ShoudBePossibleToLoadAResourceFromXml()
        {
            ResourceService resource = new ResourceService() { RemoteResourceService = RemoteResourceFactory.GetRemoteResource() };
            dynamic order = resource.FromXml("http:\\localhost:3000\\order\\1.xml");

            // verificando os atributos do recurso
            Assert.IsNotNull(order.date);
            Assert.IsNotNull(order.total);
        }
 public void ShouldBePossibleToExecuteATransitionOfStateOfAResource()
 {
     ResourceService resource = new ResourceService() { RemoteResourceService = RemoteResourceFactory.GetRemoteResource() };
     dynamic order = resource.FromXml("http:\\localhost:3000\\order\\1.xml");
     Assert.IsNotNull(order.Pay());
 }