1 package org.apache.axis2.storage.impl; 2 3 import java.io.File ; 4 import java.io.Serializable ; 5 6 23 public class AxisFileStorageTest extends AbstractStorageTest { 24 25 protected void setUp() throws Exception { 26 File file = new File ("temp.properties"); 27 storage = new AxisFileStorage(file); 28 testValueObject = new TestBean("me",25); 29 } 30 31 32 33 private class TestBean implements Serializable { 34 private String name; 35 private int age; 36 37 public TestBean(String name, int age) { 38 this.name = name; 39 this.age = age; 40 } 41 42 public String getName() { 43 return name; 44 } 45 46 public void setName(String name) { 47 this.name = name; 48 } 49 50 public int getAge() { 51 return age; 52 } 53 54 public void setAge(int age) { 55 this.age = age; 56 } 57 58 } 59 } 60 | Popular Tags |