Cameron Diaz and Justin Timberlake had been dating for 4 years before they announced their separation. Still, they both agreed to act in the movie, Bad Teacher, where both of them had leading roles and they felt quite comfortable acting with each other. Moreover, Diaz has said that she and Justin are still good friends.