Refactored parts of FBSnapshotTestCase into FBSnapshotTestRecorder.