Learn unit testing by examples