Example usage for org.apache.ibatis.cache CacheKey toString

List of usage examples for org.apache.ibatis.cache CacheKey toString

Introduction

In this page you can find the example usage for org.apache.ibatis.cache CacheKey toString.

Prototype

@Override
    public String toString() 

Source Link

Usage

From source file:com.ibatis.sqlmap.engine.cache.CacheKeyTest.java

License:Apache License

public void testUpdate() {
    CacheKey key3 = new CacheKey();

    CacheKey key4 = new CacheKey();

    key3.update("AV");

    key4.update("B7");

    assertTrue(!key3.equals(key4));//from   w  w  w  . j ava  2  s .  com
    assertTrue(!key3.toString().equals(key4.toString()));

}