Swift example of faking inner classes