blob: b91048dfa1d53981c0a79f905ae48e975f38f98d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
package org.openecomp.sdc.fe;
import javax.annotation.Generated;
import javax.servlet.FilterChain;
import javax.servlet.FilterConfig;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.junit.Test;
public class GzipFilterTest {
private GzipFilter createTestSubject() {
return new GzipFilter();
}
@Test
public void testInit() throws Exception {
GzipFilter testSubject;
FilterConfig filterConfig = null;
// default test
testSubject = createTestSubject();
testSubject.init(filterConfig);
}
@Test
public void testDestroy() throws Exception {
GzipFilter testSubject;
// default test
testSubject = createTestSubject();
testSubject.destroy();
}
}
|