fix typo in test

This commit is contained in:
Peter Hormanns 2017-07-12 15:58:15 +02:00
parent 4703ae751c
commit 438b9eec6e

View File

@ -105,7 +105,7 @@ public class MemberShareServiceTest {
// then // then
expectedExeption.expect(TechnicalException.class); expectedExeption.expect(TechnicalException.class);
expectedExeption.expectCause(new CauseMatcher(NotImplementedException.class, "MemberShares are immuatable")); expectedExeption.expectCause(new CauseMatcher(NotImplementedException.class, "MemberShares are immutable"));
// when // when
memberShareService.update(requestContextMock, prototypeVO, prototypeVO); memberShareService.update(requestContextMock, prototypeVO, prototypeVO);
@ -117,7 +117,7 @@ public class MemberShareServiceTest {
// then // then
expectedExeption.expect(TechnicalException.class); expectedExeption.expect(TechnicalException.class);
expectedExeption.expectCause(new CauseMatcher(NotImplementedException.class, "MemberShares are immuatable")); expectedExeption.expectCause(new CauseMatcher(NotImplementedException.class, "MemberShares are immutable"));
// when // when
memberShareService.delete(requestContextMock, prototypeVO); memberShareService.delete(requestContextMock, prototypeVO);