« Return to Thread: [junit tests] Get capabilites from InlineIsolationLayer

[junit tests] Get capabilites from InlineIsolationLayer

by Jan Torben Heuer-4 :: Rate this Message:

Reply to Author | View in Thread

Hi,

I use the InlineIsolationLayer for junit tests. Is it possible to get a
Capability from it? In one of my capabilities I can simply do an:
getResource().getCapability(WsnConstants.PRODUCER_URI);

But from the IsolationLayer I cannot find a way to the capabilites.

In my scenario I send a request to muse via:

Document result =
iso.handleRequest(readResourceAsDom("/testRegisterPublisher.xml"));
assertTrue(result.....)

and afterwards I want to check if the request did the correct changes in my
Capability. Any ideas?

Jan
--
                                Institute for Geoinformatics
jan.heuer@... Robert-Koch-Strasse 26-28
+49 251 83-31960 48151 Münster, Germany


signature.asc (196 bytes) Download Attachment

 « Return to Thread: [junit tests] Get capabilites from InlineIsolationLayer