title: Play! + Siena + GAE + JUnit
body: <p>I am trying to get some basic unit tests up and running on the Play! framework using the Siena persistence library with GAE as the intended deployment target.</p>
  
  <p>I have the project configured properly and can deploy the app to GAE. I created a basic domain object:</p>
  
  <pre><code>public class User extends Model {
  
      @Id(Generator.AUTO_INCREMENT)
      public Long id;
  
      @Column("first_name")
      public String firstName;
  
      @Column("last_name")
      public String lastName;
  
      @Column("email")
      public String email;
  
      public User(String firstName, String lastName, String email) {
          this.firstName = firstName;
          this.lastName = lastName;
          this.email = email;
      }
  
      public static Query&lt;User&gt; all() {
          return Model.all(User.class);
      }
  
  }
  </code></pre>
  
  <p>and a basic unit test:</p>
  
  <pre><code>public class BasicTest extends UnitTest {
  
      @Before
      public void setup() {
          Fixtures.deleteAll();
      }
  
  
      @Test
      public void canCreateUser() {
          new User("Jason","Miesionczek","atmospherian@gmail.com").insert();
  
          User user = User.all().fetch().get(0);
  
          assertNotNull(user);
          assertEquals(1,User.all().count());
      }
  
  }
  </code></pre>
  
  <p>I understand that in Play! 1.0.3, Fixtures support for Siena is not there yet, which should be fixed in 1.1, but in the mean time, what should i use instead of Fixtures.deleteAll() to clear the test db before each test?</p>
  
  <p>Right now my second assertion fails because the database retains the previously inserted records.</p>