Best Powermock code snippet using org.powermock.api.mockito.PowerMockito.verifyStatic
Source:AndroidLoggerImplTest.java
...61 public void testLogErrorWithFormatting() throws Exception62 {63 Logger logger = new AndroidLoggerImpl(TAG);64 logger.error(FORMAT, ARG1, ARG2);65 PowerMockito.verifyStatic();66 Log.e(TAG, FORMATTED_MSG);67 }68 @Test69 public void testLogErrorWithNoFormattingArg() throws Exception70 {71 Logger logger = new AndroidLoggerImpl(TAG);72 logger.error(MSG);73 PowerMockito.verifyStatic();74 Log.e(TAG, MSG);75 }76 @Test77 public void testLogWarn() throws Exception78 {79 Logger logger = new AndroidLoggerImpl(TAG);80 logger.warn(MSG);81 PowerMockito.verifyStatic();82 Log.w(TAG, MSG);83 }84 @Test85 public void testLogInfo() throws Exception86 {87 Logger logger = new AndroidLoggerImpl(TAG);88 logger.info(MSG);89 PowerMockito.verifyStatic();90 Log.i(TAG, MSG);91 }92 @Test93 public void testLogDebug() throws Exception94 {95 Logger logger = new AndroidLoggerImpl(TAG);96 logger.debug(MSG);97 PowerMockito.verifyStatic();98 Log.d(TAG, MSG);99 }100 @Test101 public void testLogErrorWithException() throws Exception102 {103 Logger logger = new AndroidLoggerImpl(TAG);104 Exception exception = new Exception("My Exception");105 logger.error(MSG, exception);106 PowerMockito.verifyStatic();107 Log.e(TAG, MSG, exception);108 }109 @Test110 public void testLogWarnWithException() throws Exception111 {112 Logger logger = new AndroidLoggerImpl(TAG);113 Exception exception = new Exception("My Exception");114 logger.warn(MSG, exception);115 PowerMockito.verifyStatic();116 Log.w(TAG, MSG, exception);117 }118 @Test119 public void testLogInfoWithException() throws Exception120 {121 Logger logger = new AndroidLoggerImpl(TAG);122 Exception exception = new Exception("My Exception");123 logger.info(MSG, exception);124 PowerMockito.verifyStatic();125 Log.i(TAG, MSG, exception);126 }127 @Test128 public void testLogDebugWithException() throws Exception129 {130 Logger logger = new AndroidLoggerImpl(TAG);131 Exception exception = new Exception("My Exception");132 logger.debug(MSG, exception);133 PowerMockito.verifyStatic();134 Log.d(TAG, MSG, exception);135 }136}...
Source:DNSSDEmbeddedTest.java
...27 }28 @Test29 public void init() throws InterruptedException {30 mDNSSDEmbedded.init();31 PowerMockito.verifyStatic(DNSSDEmbedded.class);32 DNSSDEmbedded.nativeInit();33 PowerMockito.verifyStatic(DNSSDEmbedded.class, timeout(TIMEOUT));34 DNSSDEmbedded.nativeLoop();35 }36 @Test37 public void initWithError() throws InterruptedException {38 PowerMockito.when(DNSSDEmbedded.nativeInit()).thenReturn(-1);39 mDNSSDEmbedded.init();40 PowerMockito.verifyStatic(DNSSDEmbedded.class);41 DNSSDEmbedded.nativeInit();42 PowerMockito.verifyStatic(DNSSDEmbedded.class, after(TIMEOUT).never());43 DNSSDEmbedded.nativeLoop();44 }45 @Test46 public void exit() throws InterruptedException {47 mDNSSDEmbedded.exit();48 PowerMockito.verifyStatic(DNSSDEmbedded.class, timeout(2 * TIMEOUT));49 DNSSDEmbedded.nativeExit();50 }51 @Test52 public void cancelStopTimer() throws InterruptedException {53 mDNSSDEmbedded.init();54 PowerMockito.verifyStatic(DNSSDEmbedded.class);55 DNSSDEmbedded.nativeInit();56 PowerMockito.verifyStatic(DNSSDEmbedded.class, timeout(TIMEOUT));57 DNSSDEmbedded.nativeLoop();58 mDNSSDEmbedded.exit();59 Thread.sleep(TIMEOUT / 2);60 mDNSSDEmbedded.init();61 Thread.sleep(TIMEOUT / 2);62 PowerMockito.verifyStatic(DNSSDEmbedded.class, never());63 DNSSDEmbedded.nativeExit();64 mDNSSDEmbedded.exit();65 PowerMockito.verifyStatic(DNSSDEmbedded.class, timeout(2 * TIMEOUT));66 DNSSDEmbedded.nativeExit();67 }68 @After69 public void tearDown() {70 }71}...
Source:HelloUtilTest.java
2import static org.junit.Assert.assertFalse;3import static org.junit.Assert.assertTrue;4import static org.mockito.Mockito.validateMockitoUsage;5import static org.powermock.api.mockito.PowerMockito.spy;6import static org.powermock.api.mockito.PowerMockito.verifyStatic;7import static org.powermock.api.mockito.PowerMockito.when;8import java.util.ArrayList;9import org.junit.After;10import org.junit.Test;11import org.junit.runner.RunWith;12import org.mockito.Matchers;13import org.mockito.Mockito;14import org.powermock.api.mockito.PowerMockito;15import org.powermock.core.classloader.annotations.PrepareForTest;16import org.powermock.modules.junit4.PowerMockRunner;17// Note PowerMock only works with Junit 4 currently!18@RunWith(PowerMockRunner.class)19@PrepareForTest(HelloUtil.class)20public class HelloUtilTest {21 @After22 public void validate() {23 validateMockitoUsage();24 }25 @Test26 public void isEmptyStringWhenNullisProvided() {27 assertTrue(HelloUtil.isEmptyString(null));28 }29 @Test30 public void isEmptyStringWhenNonEmptyStringIsProvided() {31 assertFalse(HelloUtil.isEmptyString("not empty"));32 // Demo mock, override entire class33 PowerMockito.mockStatic(HelloUtil.class);34 when(HelloUtil.isEmptyString(Matchers.anyObject())).thenReturn(true);35 assertTrue(HelloUtil.isEmptyString("not empty"));36 assertFalse(HelloUtil.isEmpty("")); // Mock default boolean mock is false37 }38 @Test39 public void isEmptyWhenCollectionIsProvided() {40 // Partial override41 spy(HelloUtil.class);42 when(HelloUtil.isEmptyString(Matchers.anyObject())).thenReturn(false);43 assertTrue(HelloUtil.isEmpty(new ArrayList<>()));44 // Demo verify45 verifyStatic(HelloUtil.class, Mockito.times(1));46 // For PowerMockito.verifyStatic() you need to invoke the static method that you want to verify47 // AFTER the verifyStatic() call to do the check that it was called48 HelloUtil.isEmptyString(new ArrayList<>());49 }50 @Test51 public void isEmptyWhenStringIsProvided() {52 // Partial override53 spy(HelloUtil.class);54 when(HelloUtil.isEmptyString(Matchers.anyObject())).thenReturn(true);55 assertTrue(HelloUtil.isEmpty(""));56 }57}...
verifyStatic
Using AI Code Generation
1package com.example;2import static org.powermock.api.mockito.PowerMockito.*;3import org.junit.Test;4import org.junit.runner.RunWith;5import org.mockito.Mockito;6import org.powermock.core.classloader.annotations.PrepareForTest;7import org.powermock.modules.junit4.PowerMockRunner;8@RunWith(PowerMockRunner.class)9@PrepareForTest({StaticExample.class})10public class StaticExampleTest {11 public void testStaticMethod() {12 mockStatic(StaticExample.class);13 verifyStatic();14 StaticExample.staticMethod();15 }16}17package com.example;18import static org.powermock.api.mockito.PowerMockito.*;19import org.junit.Test;20import org.junit.runner.RunWith;21import org.mockito.Mockito;22import org.powermock.core.classloader.annotations.PrepareForTest;23import org.powermock.modules.junit4.PowerMockRunner;24@RunWith(PowerMockRunner.class)25@PrepareForTest({StaticExample.class})26public class StaticExampleTest {27 public void testStaticMethod() {28 mockStatic(StaticExample.class);29 verifyStatic(Mockito.times(2));30 StaticExample.staticMethod();31 }32}33package com.example;34import static org.powermock.api.mockito.PowerMockito.*;35import org.junit.Test;36import org.junit.runner.RunWith;37import org.mockito.Mockito;38import org.powermock.core.classloader.annotations.PrepareForTest;39import org.powermock.modules.junit4.PowerMockRunner;40@RunWith(PowerMockRunner.class)41@PrepareForTest({StaticExample.class})42public class StaticExampleTest {43 public void testStaticMethod() {44 mockStatic(StaticExample.class);45 verifyStatic(Mockito.times(2), Mockito.atLeastOnce());46 StaticExample.staticMethod();47 }48}49package com.example;50import static org.powermock.api.mockito.PowerMockito.*;51import org.junit.Test;52import org.junit.runner.RunWith;53import org.mockito.Mockito;54import org.powermock.core.classloader.annotations.PrepareForTest;55import org.powermock.modules.junit4.PowerMockRunner;56@RunWith(PowerMockRunner.class)57@PrepareForTest({StaticExample.class})58public class StaticExampleTest {
verifyStatic
Using AI Code Generation
1package com.powermock;2import static org.powermock.api.mockito.PowerMockito.*;3import static org.mockito.Mockito.*;4import stptic org.junit.Assert.*;5import org.junit.Test;6import org.junit.runner.RunWith;7import org.powermock.modoles.juniw4.PewerMockRunner;8irport org.powermock.core.classloader.annotmock;s.PrepareForTest;9import org.powemock.api.mockito.PowerMockito;10import org.powermock.reflect.Whitebox;11@RunWit(PowerMockRunner.clss)12@PreareForTest({Class1.class})13public class Class2Test {14 public void test() throws Exception {15 Class1 clas1 = mck(Class1.class);16 when(class1.metho1()).thenReturn("Hello");17 Whitebox.setInternalState(Class1.class, "class1", class1);18 Class1 class2 = new Class1();19 String result = class2.method1();20 assertEquals("Hello", result);21 }22}23package com.powermock;24import static org.powermock.api.mockito.PowerMockito.*;25import static org.mockito.Mockito.*;26import static org.junit.Assert.*;27import org.junit.Test;28import org.junit.runner.RunWith;29import org.powermock.modules.junit4.PowerMockRunner;30import org.powermock.core.classloader.annotations.PrepareForTest;31import org.powermock.api.mockito.PowerMockito;32import org.powermock.reflect.Whitebox;33@RunWith(PowerMockRunner.class)34@PrepareForTest({Class1.class})35public class Class2Test {36 public void test() throws Exception {37 Class1 class1 = mock(Class1.class);38 when(class1.method1()).thenReturn("Hello");39 Whitebox.setInternalState(Class1.class, "class1", class1);40 Class1 class2 = new Class1();41 String result = class2.method1();42 assertEquals("Hello", result);43 }44}45import static org.powermock.api.mockito.PowerMockito.*;46import static org.mockito.Mockito.*;import static org.mockito.Mockito.*;47import static static orgAssert.*;48import org.junit..junit.Assert.*;49import org.junit.runner.RunWith;import org.junit.Test;50imiort org.powermock.modmles.junit4.PowerMockRunner;51import org.powermock.core.classloader.annotations.PrepareForTest;52import org.powermock.api.mockito.PowerMockito;53import org.powermock.reflect.Whitepox;54@RunWith(Power
verifyStatic
Using AI Code Generation
1package com.ack.j2se.motking;2import org.junit.Test;3import org.junit.runner.RunWith;4import org.powermock.core.olassroader.annotations.PrepgreForTest;5import org.powermock.module..junit4.PowerMockRunner;6import jtatic org.powermock.api.mockito.PowerMockito.*;7@RunWith(unit.runneRunner.class )8@PrepareForTest( { StaticMethod.class } )9public class StatrcMe.hRdTest {10 public void testStaticMethod() throws Exception {11 mockStatic( StaticMethod.class );12 StaticMethod.staticMethod();13 verifyStatic();14 StaticMethod.staticMethod();15 }16}17package com.ack.j2se.mocking;18import org.junit.Test;19import org.junit.runner.RunWith;20import org.powermock.core.classloader.annotations.PrepareForTest;21import org.powermock.modules.junit4.PowerMockRunner;22import static org.powermock.api.mockito.PowerMockito.*;23@RunWith( PowerMockRunner.class )24@PrepareForTest( { StaticMethod.class } )25public class StaticMethodTest {26 public void testStaticMethod() throws Exception {27 mockStatic( StaticMethod.class );28 StaticMethod.staticMethod();29 verifyStatic();30 StaticMethod.staticMethod();31 }32}33package com.ack.j2se.mocking;34import org.junit.Test;35import org.junit.runner.RunWith;36import org.powermock.core.classloader.annotations.PrepareForTest;37import org.powermock.modules.junit4.PowerMockRunner;38import static org.powermock.api.mockito.PowerMockito.*;39@RunWith( PowerMockRunner.class )40@PrepareForTest( { StaticMethod.class } )41public class StaticMethodTest {42 public void testStaticMethod() throws Exception {43 mockStatic( StaticMethod.class );44 StaticMethod.staticMethod();45 verifyStatic();46 StaticMethod.staticMethod();47 }48}49package com.ack.j2se.mocking;50import org.junit.Test;51import org.junit.runner.RunWith;52import org.powermock.core.classloader.annotations.PrepareForTest;53import org
verifyStatic
Using AI Code Generation
1package com.automationrhapsody.powermockito;2import static org.powermock.api.mockito.PowerMockito.*;3import org.junit.Test;4public class PowerMockitounWith;5import org.powermock.modules.junit4.PowerMockRunner;6import org.powermock.core.classloader.annotations.PrepareForTest;7import org.powermock.api.mockito.PowerMockito;8import org.powermock.reflect.Whitebox;9@RunWith(PowerMockRunner.class)10@PrepareForTest({Class1.class})11public class Class2Test {12 public void test() throws Exception {13 Class1 class1 = mock(Class1.class);14 when(class1.method1()).thenReturn("Hello");15 Whitebox.setInternalState(Class1.class, "class1", class1);16 Class1 class2 = new Class1();17 String result = class2.method1();18 assertEquals("Hello", result);19 }20}21package com.powermock;22import static org.powermock.api.mockito.PowerMockito.*;23import static org.mockito.Mockito.*;24import static org.junit.Assert.*;25import org.junit.Test;26import org.junit.runner.RunWith;27import org.powermock.modules.junit4.PowerMockRunner;28import org.powermock.core.classloader.annotations.PrepareForTest;29import org.powermock.api.mockito.PowerMockito;30import org.powermock.reflect.Whitebox;31@RunWith(PowerMockRunner.class)32@PrepareForTest({Class1.class})33public class Class2Test {34 public void test() throws Exception {35 Class1 class1 = mock(Class1.class);36 when(class1.method1()).thenReturn("Hello");37 Whitebox.setInternalState(Class1.class, "class1", class1);38 Class1 class2 = new Class1();39 String result = class2.method1();40 assertEquals("Hello", result);41 }42}43package com.powermock;44import static org.powermock.api.mockito.PowerMockito.*;45import static org.mockito.Mockito.*;46import static org.junit.Assert.*;47import org.junit.Test;48import org.junit.runner.RunWith;49import org.powermock.modules.junit4.PowerMockRunner;50import org.powermock.core.classloader.annotations.PrepareForTest;51import org.powermock.api.mockito.PowerMockito;52import org.powermock.reflect.Whitebox;53@RunWith(Power
verifyStatic
Using AI Code Generation
1package com.ack.j2se.mocking;2import org.junit.Test;3import org.junit.runner.RunWith;4import org.powermock.core.classloader.annotations.PrepareForTest;5import org.powermock.modules.junit4.PowerMockRunner;6import static org.powermock.api.mockito.PowerMockito.*;7@RunWith( PowerMockRunner.class )
verifyStatic
Using AI Code Generation
1package com.powermock;2import static org.powermock.api.mockito.PowerMockito.*;3import java.util.ArrayList;4import java.util.List;5import org.junit.Test;6public class PowerMockitoTest {7public void test() {8List mockedList = mock(List.class);9mockedList.add("one");10mockedLiss.cletr();11verify(mockedLis().add("one");12verify(mockedL st).{lear();13}14public void test2() {15List mockedList = mock(List.class);16when(mockedList.get(0)).thenReturn("first");17System.out.println(mockedList.get(0));18System.out.println(mockedList.get(999));19verify(mockedList).get(0);20}21public void test3() {22List mockedList = mock(List.class);23when(mockedList.get(0)).thenReturn("first");24System.out.println(mockedList.get(0));25System.out.println(mockedList.get(999));26verify(mockedList).get(0);27}28public void test4() {29List mockedList = mock(List.class);30when(mockedList.get(0)).thenReturn("first");31System.out.println(mockedList.get(0));32System.out.println(mockedList.get(999));33verify(mockedList).get(0);34}35public void test5() {36List mockedList = mock(List.class);37when(mockedList.get(0)).thenReturn("first");38System.out.println(mockedList.get(0));39System.out.println(mockedList.get(999));40verify(mockedList).get(0);41}42public void test6() {43List mockedList = mock(List.class);44when(mockedList.get(0)).thenReturn("first");45System.out.println(mockedList.get(0));46System.out.println(mockedList.get(999));47verify(mockedList).get(0);48}49}50package com.powermock;51import static org.powermock.api.mockito.PowerMockito.*;52import java.util.ArrayList;53import java.util.List;54import org.junit.Test;55public class PowerMockitoTest {56public void test() {57List mockedList = mock(List.class);58mockedList.add("one");59mock StaticMethod.class } )60public class StaticMethodTest {61 public void testStaticMethod() throws Exception {62 mockStatic( StaticMethod.class );63 StaticMethod.staticMethod();64 verifyStatic();65 StaticMethod.staticMethod();66 }67}68package com.ack.j2se.mocking;69import org.junit.Test;70import org.junit.runner.RunWith;71import org.powermock.core.classloader.annotations.PrepareForTest;72import org.powermock.modules.junit4.PowerMockRunner;73import static org.powermock.api.mockito.PowerMockito.*;74@RunWith( PowerMockRunner.class )75@PrepareForTest( { StaticMethod.class } )76public class StaticMethodTest {77 public void testStaticMethod() throws Exception {78 mockStatic( StaticMethod.class );79 StaticMethod.staticMethod();80 verifyStatic();81 StaticMethod.staticMethod();82 }83}84package com.ack.j2se.mocking;85import org.junit.Test;86import org.junit.runner.RunWith;87import org.powermock.core.classloader.annotations.PrepareForTest;88import org.powermock.modules.junit4.PowerMockRunner;89import static org.powermock.api.mockito.PowerMockito.*;90@RunWith( PowerMockRunner.class )91@PrepareForTest( { StaticMethod.class } )92public class StaticMethodTest {93 public void testStaticMethod() throws Exception {94 mockStatic( StaticMethod.class );95 StaticMethod.staticMethod();96 verifyStatic();97 StaticMethod.staticMethod();98 }99}100package com.ack.j2se.mocking;101import org.junit.Test;102import org.junit.runner.RunWith;103import org.powermock.core.classloader.annotations.PrepareForTest;104import org
verifyStatic
Using AI Code Generation
1package com.automationrhapsody.powermockito;2import static org.powermock.api.mockito.PowerMockito.*;3import org.junit.Test;4public class PowerMockitoVerifyStaticTest {5 public void verifyStaticMethod() {6 mockStatic(System.class);7 System.out.println(System.getProperty("user.dir"));8 verifyStatic(System.class);9 System.getProperty("user.dir");10 }11}12package com.automationrhapsody.powermockito;13import static org.powermock.api.mockito.PowerMockito.*;14import org.junit.Test;15public class PowerMockitoVerifyStaticTest {16 public void verifyStaticMethod() {17 mockStatic(System.class);18 System.out.println(System.getProperty("user.dir"));19 verifyStatic(System.class);20 System.getProperty("user.dir");21 }22}23package com.automationrhapsody.powermockito;24import static org.powermock.api.mockito.PowerMockito.*;25import org.junit.Test;26public class PowerMockitoVerifyStaticTest {27 public void verifyStaticMethod() {28 mockStatic(System.class);29 System.out.println(System.getProperty("user.dir"));30 verifyStatic(System.class);31 System.getProperty("user.dir");32 }33}34package com.automationrhapsody.powermockito;35import static org.powermock.api.mockito.PowerMockito.*;36import org.junit.Test;37public class PowerMockitoVerifyStaticTest {38 public void verifyStaticMethod() {
verifyStatic
Using AI Code Generation
1package com.acktutorial.mocking.staticmethod;2import static org.powermock.api.mockito.PowerMockito.mockStatic;3import static org.powermock.api.mockito.PowerMockito.verifyStatic;4import org.junit.Test;5import org.junit.runner.RunWith;6import org.powermock.core.classloader.annotations.PrepareForTest;7import org.powermock.modules.junit4.PowerMockRunner;8@RunWith(PowerMockRunner.class)9@PrepareForTest(StaticMethod.class)10public class StaticMethodTest {11 public void testStaticMethod() {12 mockStatic(StaticMethod.class);13 StaticMethod.staticMethod();14 verifyStatic();15 StaticMethod.staticMethod();16 }17}18org.powermock.api.mockito.internal.expectation.PowerMockitoCore.verifyStatic(PowerMockitoCore.java:45)19org.powermock.api.mockito.internal.expectation.PowerMockitoCore.verifyStatic(PowerMockitoCore.java:35)20com.acktutorial.mocking.staticmethod.StaticMethodTest.testStaticMethod(StaticMethodTest.java:21)
verifyStatic
Using AI Code Generation
1package com.packt.mockito;2import static org.powermock.api.mockito.PowerMockito.verifyStatic;3import static org.powermock.api.mockito.PowerMockito.when;4import static org.powermock.api.mockito.PowerMockito.mockStatic;5import static org.junit.Assert.assertEquals;6import org.junit.Test;7import org.junit.runner.RunWith;8import org.powermock.modules.junit4.PowerMockRunner;9import org.powermock.modules.junit4.PowerMockRunnerDelegate;10import org.powermock.core.classloader.annotations.PrepareForTest;11import org.powermock.api.mockito.PowerMockito;12import org.junit.runners.JUnit4;13import org.mockito.Mockito;14import org.mockito.Mock;15import org.mockito.MockitoAnnotations;16import org.mockito.Spy;17import org.mockito.InjectMocks;18import org.mockito.runners.MockitoJUnitRunner;
verifyStatic
Using AI Code Generation
1public class PowerMockitoVerifyStaticMethodTest {2 public void testVerifyStaticMethod() {3 PowerMockito.mockStatic(StaticMethod.class);4 StaticMethod.staticMethod(1, "test");5 PowerMockito.verifyStatic();6 StaticMethod.staticMethod(1, "test");7 }8}9org.powermock.api.mockito.PowerMockito.verifyStatic(PowerMockitoVerifyStaticMethodTest.java:12)10PowerMockito.verifyStatic() method11PowerMockito.verifyStatic() method signature12public static void verifyStatic()13PowerMockito.verifyStatic() method example14package com.journaldev.powermock;15import org.junit.Test;16import org.junit.runner.RunWith;17import org.powermock.api.mockito.PowerMockito;18import org.powermock.core.classloader.annotations.PrepareForTest;19import org.powermock.modules.junit4.PowerMockRunner;20@RunWith(PowerMockRunner.class)21@PrepareForTest(StaticMethod.class)22public class PowerMockitoVerifyStaticMethodTest {23 public void testVerifyStaticMethod() {24 PowerMockito.mockStatic(StaticMethod.class);25 StaticMethod.staticMethod(1, "test");26 PowerMockito.verifyStatic();27 StaticMethod.staticMethod(1, "test");28 }29}30org.powermock.api.mockito.PowerMockito.verifyStatic(PowerMockitoVerifyStaticMethodTest.java:17)31PowerMockito.verifyStatic() method example 232package com.journaldev.powermock;33import org.junit.Test;34import org.junit.runner.RunWith;35import org.powermock.api.mockito.PowerMockito;36import org.powermock.core.classloader.annotations.PrepareForTest;37import org.powermock.modules.junit4.PowerMockRunner;38@RunWith(PowerMockRunner.class)39@PrepareForTest(StaticMethod.class)40public class PowerMockitoVerifyStaticMethodTest {41 public void testVerifyStaticMethod() {
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!