1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.ws.wsdl.wsdl11;
18
19 import junit.framework.TestCase;
20 import org.springframework.core.io.ClassPathResource;
21
22 public class SimpleWsdl11DefinitionTest extends TestCase {
23
24 private SimpleWsdl11Definition definition;
25
26 protected void setUp() throws Exception {
27 definition = new SimpleWsdl11Definition();
28 definition.setWsdl(new ClassPathResource("complete.wsdl", getClass()));
29 definition.afterPropertiesSet();
30 }
31
32 public void testGetSource() throws Exception {
33 assertNotNull("No source returned", definition.getSource());
34 }
35 }