@Before public void setUp() throws Exception { TestMessageProto.Builder builder = TestMessageProto.newBuilder(); builder.setName("TestFileUtils"); builder.setAge(30); builder.setAddr(TestFileUtils.class.getName()); proto = builder.build(); File testDir = new File(TEST_PATH); if (testDir.exists()) { testDir.delete(); } testDir.mkdirs(); }