Merge branch 'BAEL-633' of https://github.com/tomekl007/tutorials into BAEL-633

This commit is contained in:
Tomasz Lelek 2017-02-22 15:18:37 +01:00
commit 3962ef4ffa
3 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ import static junit.framework.TestCase.assertEquals;
public class BeanGeneratorTest {
@Test
public void givenBeanCreator_whenAddPropery_classShouldHaveFieldValue() throws Exception {
public void givenBeanCreator_whenAddProperty_thenClassShouldHaveFieldValue() throws Exception {
//given
BeanGenerator beanGenerator = new BeanGenerator();

View File

@ -9,7 +9,7 @@ import static junit.framework.TestCase.assertEquals;
public class MixinTest {
@Test
public void givenTwoClasses_whenMixtThemIntoOne_mixinShouldHaveMethodsFromBothClasses() throws Exception {
public void givenTwoClasses_whenMixedIntoOne_thenMixinShouldHaveMethodsFromBothClasses() throws Exception {
//when
Mixin mixin = Mixin.create(
new Class[]{Interface1.class, Interface2.class, MixinInterface.class},

View File

@ -7,9 +7,9 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class PersonServiceProxyTest {
public class ProxyTest {
@Test
public void givenPersonService_whenSayHello_shouldReturnResult() {
public void givenPersonService_whenSayHello_thenReturnResult() {
//given
PersonService personService = new PersonService();
@ -21,7 +21,7 @@ public class PersonServiceProxyTest {
}
@Test
public void givenEnhancerProxy_whenExtendPersonService_shouldInterceptMethod() throws Exception {
public void givenEnhancerProxy_whenExtendPersonService_thenInterceptMethod() throws Exception {
//given
Enhancer enhancer = new Enhancer();
enhancer.setSuperclass(PersonService.class);
@ -36,7 +36,7 @@ public class PersonServiceProxyTest {
}
@Test
public void givenEnhancer_whenExecuteMethodOnProxy_shouldInterceptOnlyStringReturnTypeMethod() throws Exception {
public void givenEnhancer_whenExecuteMethodOnProxy_thenInterceptOnlyStringReturnTypeMethod() throws Exception {
//given
Enhancer enhancer = new Enhancer();
enhancer.setSuperclass(PersonService.class);