A cat has learned to use a toilet made for people.