Skip to content

Commit 3962ef4

Browse files
author
Tomasz Lelek
committed
Merge branch 'BAEL-633' of https://github.com/tomekl007/tutorials into BAEL-633
2 parents 06f69c2 + dbc52e8 commit 3962ef4

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎cglib/src/test/java/com/baeldung/cglib/proxy/BeanGeneratorTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
public class BeanGeneratorTest {
1212

1313
@Test
14-
public void givenBeanCreator_whenAddPropery_classShouldHaveFieldValue() throws Exception {
14+
public void givenBeanCreator_whenAddProperty_thenClassShouldHaveFieldValue() throws Exception {
1515
//given
1616
BeanGenerator beanGenerator = new BeanGenerator();
1717

‎cglib/src/test/java/com/baeldung/cglib/proxy/MixinTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
public class MixinTest {
1010

1111
@Test
12-
public void givenTwoClasses_whenMixtThemIntoOne_mixinShouldHaveMethodsFromBothClasses() throws Exception {
12+
public void givenTwoClasses_whenMixedIntoOne_thenMixinShouldHaveMethodsFromBothClasses() throws Exception {
1313
//when
1414
Mixin mixin = Mixin.create(
1515
new Class[]{Interface1.class, Interface2.class, MixinInterface.class},

cglib/src/test/java/com/baeldung/cglib/proxy/PersonServiceProxyTest.java renamed to cglib/src/test/java/com/baeldung/cglib/proxy/ProxyTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
import static org.junit.Assert.assertEquals;
99

10-
public class PersonServiceProxyTest {
10+
public class ProxyTest {
1111
@Test
12-
public void givenPersonService_whenSayHello_shouldReturnResult() {
12+
public void givenPersonService_whenSayHello_thenReturnResult() {
1313
//given
1414
PersonService personService = new PersonService();
1515

@@ -21,7 +21,7 @@ public void givenPersonService_whenSayHello_shouldReturnResult() {
2121
}
2222

2323
@Test
24-
public void givenEnhancerProxy_whenExtendPersonService_shouldInterceptMethod() throws Exception {
24+
public void givenEnhancerProxy_whenExtendPersonService_thenInterceptMethod() throws Exception {
2525
//given
2626
Enhancer enhancer = new Enhancer();
2727
enhancer.setSuperclass(PersonService.class);
@@ -36,7 +36,7 @@ public void givenEnhancerProxy_whenExtendPersonService_shouldInterceptMethod() t
3636
}
3737

3838
@Test
39-
public void givenEnhancer_whenExecuteMethodOnProxy_shouldInterceptOnlyStringReturnTypeMethod() throws Exception {
39+
public void givenEnhancer_whenExecuteMethodOnProxy_thenInterceptOnlyStringReturnTypeMethod() throws Exception {
4040
//given
4141
Enhancer enhancer = new Enhancer();
4242
enhancer.setSuperclass(PersonService.class);

0 commit comments

Comments
 (0)