Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ResourceManager cannot be instantiated during junit testing bug #29

Open
wee-zard opened this issue Dec 2, 2023 · 0 comments
Open

ResourceManager cannot be instantiated during junit testing bug #29

wee-zard opened this issue Dec 2, 2023 · 0 comments

Comments

@wee-zard
Copy link

wee-zard commented Dec 2, 2023

Arrange:

  • Configuring the environment (with for example Gradle v3.3).
  • Importing the junit .jar files, so we can run junit test cases.

Act:

  • Creating a TestFile where we want to run the test case.
  • Making an instance of ResourceManager Class
  • Check if the instance is created of not with assertNull.

Excepting:

  • We can make an instance of the ResourceManager class and run different test cases on it to check, if it's working properly or not.

Actually:

  • During the test, we got a NullPointerException.

bug1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant