Get a configuration class object in interface

In reply to cuonghle:

Even now its not working,after changing the context of set method.

what should i do to make it work.

Im Able to get the default values of configuration in interface but not the actual configuration values what we configure in test.