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