paulbutcher / scalamock

Native Scala mocking framework

Website Github
< d i v c l a s s = " a n n o u n c e i n s t a p a p e r _ b o d y m d " d a t a - p a t h = " R E A D M E . m d " i d = " r e a d m e " > < a r t i c l e c l a s s = " m a r k d o w n - b o d y e n t r y - c o n t e n t " i t e m p r o p = " t e x t " > < h 1 > < a i d = " u s e r - c o n t e n t - s c a l a m o c k " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # s c a l a m o c k " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > S c a l a M o c k < / h 1 > < p > < a h r e f = " h t t p s : / / t r a v i s - c i . o r g / p a u l b u t c h e r / S c a l a M o c k " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / f 2 5 5 0 a 8 a d 6 a 8 2 e 2 9 9 c 6 5 c 2 4 e 7 4 2 c d 7 b b 7 2 d f 6 3 6 e / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 7 4 7 2 6 1 7 6 6 9 7 3 2 d 6 3 6 9 2 e 6 f 7 2 6 7 2 f 7 0 6 1 7 5 6 c 6 2 7 5 7 4 6 3 6 8 6 5 7 2 2 f 5 3 6 3 6 1 6 c 6 1 4 d 6 f 6 3 6 b 2 e 7 3 7 6 6 7 3 f 6 2 7 2 6 1 6 e 6 3 6 8 3 d 6 d 6 1 7 3 7 4 6 5 7 2 " a l t = " B u i l d S t a t u s " d a t a - c a n o n i c a l - s r c = " h t t p s : / / t r a v i s - c i . o r g / p a u l b u t c h e r / S c a l a M o c k . s v g ? b r a n c h = m a s t e r " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < a h r e f = " h t t p s : / / i n d e x . s c a l a - l a n g . o r g / p a u l b u t c h e r / s c a l a m o c k " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / 8 f e e 2 e 9 5 8 8 d a e 5 6 8 8 b 5 b 8 3 f d 2 f 5 9 b 1 5 d d 5 2 e 5 4 5 0 / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 6 9 6 e 6 4 6 5 7 8 2 e 7 3 6 3 6 1 6 c 6 1 2 d 6 c 6 1 6 e 6 7 2 e 6 f 7 2 6 7 2 f 7 0 6 1 7 5 6 c 6 2 7 5 7 4 6 3 6 8 6 5 7 2 2 f 7 3 6 3 6 1 6 c 6 1 6 d 6 f 6 3 6 b 2 f 7 3 6 3 6 1 6 c 6 1 6 d 6 f 6 3 6 b 2 d 7 3 6 3 6 1 6 c 6 1 7 4 6 5 7 3 7 4 2 d 7 3 7 5 7 0 7 0 6 f 7 2 7 4 2 f 6 c 6 1 7 4 6 5 7 3 7 4 2 e 7 3 7 6 6 7 3 f 6 3 6 f 6 c 6 f 7 2 3 d 6 f 7 2 6 1 6 e 6 7 6 5 " a l t = " S c a l a d e x " d a t a - c a n o n i c a l - s r c = " h t t p s : / / i n d e x . s c a l a - l a n g . o r g / p a u l b u t c h e r / s c a l a m o c k / s c a l a m o c k - s c a l a t e s t - s u p p o r t / l a t e s t . s v g ? c o l o r = o r a n g e " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < a h r e f = " h t t p s : / / w w w . c o d a c y . c o m / a p p / b a r k h o r n / S c a l a M o c k ? u t m _ s o u r c e = g i t h u b . c o m & a m p ; u t m _ m e d i u m = r e f e r r a l & a m p ; u t m _ c o n t e n t = p a u l b u t c h e r / S c a l a M o c k & a m p ; u t m _ c a m p a i g n = B a d g e _ G r a d e " t a r g e t = " _ b l a n k " > < i m g s r c = " h t t p s : / / c a m o . g i t h u b u s e r c o n t e n t . c o m / 9 4 1 f 4 b 4 7 4 9 a b a a c 2 8 5 f a b 9 d 1 2 6 5 8 6 6 b 6 0 d e a b b f a / 6 8 7 4 7 4 7 0 7 3 3 a 2 f 2 f 6 1 7 0 6 9 2 e 6 3 6 f 6 4 6 1 6 3 7 9 2 e 6 3 6 f 6 d 2 f 7 0 7 2 6 f 6 a 6 5 6 3 7 4 2 f 6 2 6 1 6 4 6 7 6 5 2 f 4 7 7 2 6 1 6 4 6 5 2 f 6 4 3 7 3 2 3 5 3 0 6 3 6 5 6 1 3 1 3 7 3 7 6 2 3 4 3 6 3 8 6 3 3 9 3 4 6 2 6 2 3 0 3 7 6 5 6 2 3 8 6 4 3 3 3 3 3 6 3 6 6 1 3 4 " a l t = " C o d a c y B a d g e " d a t a - c a n o n i c a l - s r c = " h t t p s : / / a p i . c o d a c y . c o m / p r o j e c t / b a d g e / G r a d e / d 7 2 5 0 c e a 1 7 7 b 4 6 8 c 9 4 b b 0 7 e b 8 d 3 3 6 6 a 4 " s t y l e = " m a x - w i d t h : 1 0 0 % ; " > < / a > < / p > < p > N a t i v e S c a l a m o c k i n g . < / p > < p > O f f i c i a l w e b s i t e : < a h r e f = " h t t p : / / s c a l a m o c k . o r g / " t a r g e t = " _ b l a n k " > h t t p : / / s c a l a m o c k . o r g / < / a > < / p > < h 2 > < a i d = " u s e r - c o n t e n t - e x a m p l e s " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # e x a m p l e s " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > E x a m p l e s < / h 2 > < h 3 > < a i d = " u s e r - c o n t e n t - e x p e c t a t i o n s - f i r s t - s t y l e " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # e x p e c t a t i o n s - f i r s t - s t y l e " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > E x p e c t a t i o n s - F i r s t S t y l e < / h 3 > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > t e s t ( < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > d r a w l i n e i n t e r a c t i o n w i t h t u r t l e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > ) { < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > C r e a t e m o c k T u r t l e o b j e c t < / s p a n > < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > m < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > m o c k [ < s p a n c l a s s = " p l - e n " > T u r t l e < / s p a n > ] < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > S e t e x p e c t a t i o n s < / s p a n > ( m . s e t P o s i t i o n _ ) . e x p e c t s ( < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) ( m . f o r w a r d _ ) . e x p e c t s ( < s p a n c l a s s = " p l - c 1 " > 5 . 0 < / s p a n > ) ( m . g e t P o s i t i o n _ ) . e x p e c t s ( ) . r e t u r n i n g ( < s p a n c l a s s = " p l - c 1 " > 1 5 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > E x e r c i s e S y s t e m U n d e r T e s t < / s p a n > d r a w L i n e ( m , ( < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) , ( < s p a n c l a s s = " p l - c 1 " > 1 5 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) ) } < / p r e > < / d i v > < h 3 > < a i d = " u s e r - c o n t e n t - r e c o r d - t h e n - v e r i f y - m o c k i t o - s t y l e " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # r e c o r d - t h e n - v e r i f y - m o c k i t o - s t y l e " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > R e c o r d - t h e n - V e r i f y ( M o c k i t o ) S t y l e < / h 3 > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > t e s t ( < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > d r a w l i n e i n t e r a c t i o n w i t h t u r t l e < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > ) { < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > C r e a t e s t u b T u r t l e < / s p a n > < s p a n c l a s s = " p l - k " > v a l < / s p a n > < s p a n c l a s s = " p l - e n " > m < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > s t u b [ < s p a n c l a s s = " p l - e n " > T u r t l e < / s p a n > ] < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > S e t u p r e t u r n v a l u e s < / s p a n > ( m . g e t P o s i t i o n _ ) . w h e n ( ) . r e t u r n s ( < s p a n c l a s s = " p l - c 1 " > 1 5 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > E x e r c i s e S y s t e m U n d e r T e s t < / s p a n > d r a w L i n e ( m , ( < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) , ( < s p a n c l a s s = " p l - c 1 " > 1 5 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) ) < s p a n c l a s s = " p l - c " > < s p a n c l a s s = " p l - c " > / / < / s p a n > V e r i f y e x p e c t a t i o n s m e t < / s p a n > ( m . s e t P o s i t i o n _ ) . v e r i f y ( < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > , < s p a n c l a s s = " p l - c 1 " > 1 0 . 0 < / s p a n > ) ( m . f o r w a r d _ ) . v e r i f y ( < s p a n c l a s s = " p l - c 1 " > 5 . 0 < / s p a n > ) } < / p r e > < / d i v > < p > A m o r e c o m p l e t e e x a m p l e i s o n o u r < a h r e f = " h t t p : / / s c a l a m o c k . o r g / q u i c k - s t a r t / " t a r g e t = " _ b l a n k " > Q u i c k s t a r t < / a > p a g e . < / p > < h 2 > < a i d = " u s e r - c o n t e n t - f e a t u r e s " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # f e a t u r e s " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > F e a t u r e s < / h 2 > < u l > < l i > F u l l y t y p e s a f e < / l i > < l i > F u l l s u p p o r t f o r S c a l a f e a t u r e s s u c h a s : < u l > < l i > P o l y m o r p h i c ( t y p e p a r a m e t e r i s e d ) m e t h o d s < / l i > < l i > O p e r a t o r s ( m e t h o d s w i t h s y m b o l i c n a m e s ) < / l i > < l i > O v e r l o a d e d m e t h o d s < / l i > < l i > T y p e c o n s t r a i n t s < / l i > < / u l > < / l i > < l i > S c a l a T e s t a n d S p e c s 2 i n t e g r a t i o n < / l i > < l i > M o c k a n d S t u b s u p p o r t < / l i > < l i > M a c r o M o c k s a n d P r o x y M o c k s < / l i > < l i > S c a l a . j s s u p p o r t < / l i > < l i > b u i l t f o r S c a l a 2 . 1 0 , 2 . 1 1 , 2 . 1 2 < / l i > < / u l > < h 2 > < a i d = " u s e r - c o n t e n t - u s i n g - s c a l a m o c k " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # u s i n g - s c a l a m o c k " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > U s i n g S c a l a M o c k < / h 2 > < p > A r t e f a c t s a r e p u b l i s h e d t o M a v e n C e n t r a l a n d J C e n t e r . < / p > < p > F o r S c a l a T e s t , t o u s e S c a l a M o c k i n y o u r T e s t s , a d d t h e f o l l o w i n g t o y o u r < c o d e > b u i l d . s b t < / c o d e > : < / p > < d i v c l a s s = " h i g h l i g h t h i g h l i g h t - s o u r c e - s c a l a " > < p r e > l i b r a r y D e p e n d e n c i e s < s p a n c l a s s = " p l - k " > + < / s p a n > < s p a n c l a s s = " p l - k " > = < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > o r g . s c a l a m o c k < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > % % < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > s c a l a m o c k - s c a l a t e s t - s u p p o r t < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > % < / s p a n > < s p a n c l a s s = " p l - s " > < s p a n c l a s s = " p l - p d s " > " < / s p a n > 3 . 6 . 0 < s p a n c l a s s = " p l - p d s " > " < / s p a n > < / s p a n > < s p a n c l a s s = " p l - k " > % < / s p a n > < s p a n c l a s s = " p l - e n " > T e s t < / s p a n > < / p r e > < / d i v > < h 2 > < a i d = " u s e r - c o n t e n t - d o c u m e n t a t i o n " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # d o c u m e n t a t i o n " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > D o c u m e n t a t i o n < / h 2 > < p > F o r u s a g e i n M a v e n o r G r a d l e , i n t e g r a t i o n w i t h S p e c s 2 , a n d m o r e e x a m p l e e x a m p l e s s e e t h e < a h r e f = " h t t p : / / s c a l a m o c k . o r g / u s e r - g u i d e / " t a r g e t = " _ b l a n k " > U s e r G u i d e < / a > < / p > < h 3 > < a i d = " u s e r - c o n t e n t - a c k n o w l e d g e m e n t s " c l a s s = " a n c h o r " h r e f = " h t t p s : / / g i t h u b . c o m / p a u l b u t c h e r / s c a l a m o c k # a c k n o w l e d g e m e n t s " a r i a - h i d d e n = " t r u e " t a r g e t = " _ b l a n k " > < s v g a r i a - h i d d e n = " t r u e " c l a s s = " o c t i c o n o c t i c o n - l i n k " h e i g h t = " 1 6 " v e r s i o n = " 1 . 1 " v i e w b o x = " 0 0 1 6 1 6 " w i d t h = " 1 6 " > < p a t h f i l l - r u l e = " e v e n o d d " d = " M 4 9 h 1 v 1 H 4 c - 1 . 5 0 - 3 - 1 . 6 9 - 3 - 3 . 5 S 2 . 5 5 3 4 3 h 4 c 1 . 4 5 0 3 1 . 6 9 3 3 . 5 0 1 . 4 1 - . 9 1 2 . 7 2 - 2 3 . 2 5 V 8 . 5 9 c . 5 8 - . 4 5 1 - 1 . 2 7 1 - 2 . 0 9 C 1 0 5 . 2 2 8 . 9 8 4 8 4 H 4 c - . 9 8 0 - 2 1 . 2 2 - 2 2 . 5 S 3 9 4 9 z m 9 - 3 h - 1 v 1 h 1 c 1 0 2 1 . 2 2 2 2 . 5 S 1 3 . 9 8 1 2 1 3 1 2 H 9 c - . 9 8 0 - 2 - 1 . 2 2 - 2 - 2 . 5 0 - . 8 3 . 4 2 - 1 . 6 4 1 - 2 . 0 9 V 6 . 2 5 c - 1 . 0 9 . 5 3 - 2 1 . 8 4 - 2 3 . 2 5 C 6 1 1 . 3 1 7 . 5 5 1 3 9 1 3 h 4 c 1 . 4 5 0 3 - 1 . 6 9 3 - 3 . 5 S 1 4 . 5 6 1 3 6 z " > < / p a t h > < / s v g > < / a > A c k n o w l e d g e m e n t s < / h 3 > < p > Y o u r K i t i s k i n d l y s u p p o r t i n g o p e n s o u r c e p r o j e c t s w i t h i t s f u l l - f e a t u r e d J a v a P r o f i l e r . Y o u r K i t , L L C i s t h e c r e a t o r o f i n n o v a t i v e a n d i n t e l l i g e n t t o o l s f o r p r o f i l i n g J a v a a n d . N E T a p p l i c a t i o n s . T a k e a l o o k a t Y o u r K i t ' s l e a d i n g s o f t w a r e p r o d u c t s : < a h r e f = " h t t p : / / w w w . y o u r k i t . c o m / j a v a / p r o f i l e r / i n d e x . j s p " t a r g e t = " _ b l a n k " > Y o u r K i t J a v a P r o f i l e r < / a > a n d < a h r e f = " h t t p : / / w w w . y o u r k i t . c o m / . n e t / p r o f i l e r / i n d e x . j s p " t a r g e t = " _ b l a n k " > Y o u r K i t . N E T P r o f i l e r < / a > . < / p > < / a r t i c l e > < / d i v >