Here's the code. GetParentPath is called as per normal!
[TestMethod]
[HostType("Moles")]
public void GetParentPath_slashOnEnd_returns()
{
var sapi = new MPhotobucketApi();
sapi.GetParentPathString = s => s;
var api = new PhotobucketApi();
var parentPath = api.GetParentPath("hello/world/");
Assert.AreEqual(parentPath, "hello");
}