Search in sources :

Example 1 with DateDao

use of jodd.proxetta.data.DateDao in project jodd by oblac.

the class ProxyInfoTest method testProxyInfo_createNotRightAfterTheMethod.

@Test
public void testProxyInfo_createNotRightAfterTheMethod() {
    ProxyProxetta proxetta = ProxyProxetta.withAspects(aspects());
    //proxetta.setDebugFolder(SystemUtil.userHome());
    DateDao dateDateProxy = (DateDao) proxetta.builder(DateDao.class).newInstance();
    JDateTime jDateTime = dateDateProxy.currentTime();
    assertNotNull(jDateTime);
}
Also used : ProxyProxetta(jodd.proxetta.impl.ProxyProxetta) JDateTime(jodd.datetime.JDateTime) DateDao(jodd.proxetta.data.DateDao) Test(org.junit.Test)

Aggregations

JDateTime (jodd.datetime.JDateTime)1 DateDao (jodd.proxetta.data.DateDao)1 ProxyProxetta (jodd.proxetta.impl.ProxyProxetta)1 Test (org.junit.Test)1