1 16 17 package org.springframework.jmx.export.naming; 18 19 22 public class KeyNamingStrategyTests extends AbstractNamingStrategyTests { 23 24 private static final String OBJECT_NAME = "spring:name=test"; 25 26 protected ObjectNamingStrategy getStrategy() throws Exception { 27 return new KeyNamingStrategy(); 28 } 29 30 protected Object getManagedResource() { 31 return new Object (); 32 } 33 34 protected String getKey() { 35 return OBJECT_NAME; 36 } 37 38 protected String getCorrectObjectName() { 39 return OBJECT_NAME; 40 } 41 42 } 43 | Popular Tags |