David laid some serious groundwork before Saul really began to inquire about who he was. 
He literally had to fight and kill a giant before King Saul asked about his heritage.
When the conversation finally happened David could unashamedly say who his father was. 

Building a testimony can take time. Keep at it though. Because when the time comes for you to give the reason for your actions Jesus will be glorified.