Ejemplo n.º 1
0
 public void ItShouldCreateTheCorrectFolder()
 {
     PortableDeviceHelper.AssertWasCalled(
         helper => helper.CreateFolderObject(
             Arg <IPortableDeviceContent> .Is.Equal(PortableDeviceContent),
             Arg <string> .Is.Equal("fooId"),
             Arg <string> .Is.Anything));
 }
Ejemplo n.º 2
0
 public void ItShouldCreateParentFolderObject()
 {
     PortableDeviceHelper.AssertWasCalled(
         helper => helper.CreateFolderObject(PortableDeviceContent, "xId", "y"));
 }
Ejemplo n.º 3
0
 public void ItShouldDeleteOriginalObject()
 {
     PortableDeviceHelper.AssertWasCalled(helper => helper.DeleteObject(PortableDeviceContent, "fooId"));
 }