Re: unit test with advice

2016-03-21 Thread Mary Cochran
Thanks Andy! That information is super helpful. I was struggling to find a good example that used basic auth and/or unit test with advice. Thanks, Mary Cochran On Sun, Mar 20, 2016 at 12:38 PM, Andrew Block wrote: > Mary, > > The NPE on context.start() may have been a bit of a red h

Re: unit test with advice

2016-03-20 Thread Andrew Block
Mary, The NPE on context.start() may have been a bit of a red herring as the primary cause of the issue was that there was no json library was on the class path (specifically camel-jackson in this case). Once this dependency was added, another issue developed surrounding the the authentication

unit test with advice

2016-03-19 Thread Mary Cochran
Can someone point me to why I am getting a NPE on context.start() ? Its line 63 of the attached. I have verified before that line that context is not null with my print statements. The test is for the route here: https://github.com/rhtconsulting/fuse-quickstarts/blob/jboss-fuse-6.2.1/karaf/rest_d

Re: unit test with advice

2016-03-19 Thread Mary Cochran
Sure! Here is the class file as well as the txt version again. Thanks, Mary Cochran On Fri, Mar 18, 2016 at 3:30 PM, Andrew Block wrote: > Mary, > > Would you be able to validate the attachment of the test class file? > > Thanks, > Andy > > -- > Andrew Block > > On March 18, 2016 at 1:23:19 PM,

Re: unit test with advice

2016-03-19 Thread Andrew Block
Mary, Would you be able to validate the attachment of the test class file? Thanks, Andy --  Andrew Block On March 18, 2016 at 1:23:19 PM, Mary Cochran (mcoch...@redhat.com) wrote: Can someone point me to why I am getting a NPE on context.start() ?  Its line 63 of the attached. I have verified