}
});
}
private FileCopyDetailsInternal file(final String path) {
final FileCopyDetailsInternal details = context.mock(FileCopyDetailsInternal.class, path);
final String content = String.format("contents of %s", path);
context.checking(new Expectations() {{
allowing(details).getRelativePath();
will(returnValue(RelativePath.parse(true, path)));