What is difference between tea of a cup and a cup of a tea?

There is no such English phrase as "tea of a cup." You either have a cup of tea, or you have tea in a cup.