@Test
public void testCall() throws MalformedURLException {
Mapping<User> mapping = new Mapping<User>(User.class, 126, "id", "phone");
SocketChannelPooledConnectionFactory connectionFactory = new SocketChannelPooledConnectionFactory("localhost", 33313, 1, 10);
TarantoolTemplate template = new TarantoolTemplate(connectionFactory);
template.addMapping(mapping);
template.call(User.class, "box.delete", "126", 4321).callForOne();
assertNotNull(template.call(User.class, "box.insert", "126", 4321, 323323L).callForOne());
assertNull(template.call(User.class, "box.select", 126, 0, 4321).luaMode(true).callForOne());
template.call(User.class, "box.delete", "126", 4321).callForOne();
}