finished the basic example about hamcrest.