Added mockito for mocking headless g2d instance to create mock textures

This commit is contained in:
Collin Smith 2023-09-09 00:14:18 -07:00
parent 9d03f869ce
commit ab379c7910

View File

@ -105,6 +105,7 @@ dependencies {
dependencies {
testImplementation platform('org.junit:junit-bom:5.7.1')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-junit-jupiter:5.4.0'
testImplementation "com.badlogicgames.gdx:gdx-backend-headless:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"