2016-11-21 13 views

答えて

0

public class Foo{ 

JPAApi jpaApi; 

@Given("^I have N foos$") 
public void i_have_N_foos() throws Throwable { 
jpaAPI= JPA.createFor("fooPersistenceUnit"); 
jpaApi.withTransaction(() -> { 
    fooSize = foo.count(); 
}); 
} 

} 
関連する問題