A wild-type tomato plant (Plant 1) is homozygous dominant for three traits: solid leaves (MM), normal height (DD), and smooth skin (PP).
Another tomato plant (Plant 2) is homozygous recessive for the same three traits: mottled leaves (mm), dwarf height (dd), and peach skin (pp).In a cross between these two plants (MMDDPP x mmddpp), all offspring in the F1 generation are wild type and heterozygous for all three traits (MmDdPp).
Now suppose you perform a testcross on one of the F1 plants (MmDdPp x mmddpp). The F2 generation can include plants with these eight possible phenotypes: