CoapAttributesUpdatesIntegrationTest.java: unused spy wraparound removed
This commit is contained in:
		
							parent
							
								
									c5aef4c8be
								
							
						
					
					
						commit
						9a8e39856b
					
				@ -34,8 +34,6 @@ import static org.mockito.Mockito.spy;
 | 
			
		||||
@DaoSqlTest
 | 
			
		||||
public class CoapAttributesUpdatesIntegrationTest extends AbstractCoapAttributesIntegrationTest {
 | 
			
		||||
 | 
			
		||||
    CoapTransportResource coapTransportResource;
 | 
			
		||||
 | 
			
		||||
    @Autowired
 | 
			
		||||
    DefaultCoapServerService defaultCoapServerService;
 | 
			
		||||
 | 
			
		||||
@ -44,10 +42,6 @@ public class CoapAttributesUpdatesIntegrationTest extends AbstractCoapAttributes
 | 
			
		||||
 | 
			
		||||
    @Before
 | 
			
		||||
    public void beforeTest() throws Exception {
 | 
			
		||||
        Resource api = defaultCoapServerService.getCoapServer().getRoot().getChild("api");
 | 
			
		||||
        coapTransportResource = spy( (CoapTransportResource) api.getChild("v1") );
 | 
			
		||||
        api.delete(api.getChild("v1") );
 | 
			
		||||
        api.add(coapTransportResource);
 | 
			
		||||
        CoapTestConfigProperties configProperties = CoapTestConfigProperties.builder()
 | 
			
		||||
                .deviceName("Test Subscribe to attribute updates")
 | 
			
		||||
                .build();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user