Skip to content

Conversation

@ashleyfletcher76
Copy link

Summary

This PR adds unit tests for the TopicCreateRequest class to ensure it handles null values appropriately.

Details

  • Added a new test method testTopicCreateRequestCreation() in TopicCreateRequestTest.java.
  • Implemented null checks in the TopicCreateRequest constructor to prevent NullPointerException.

Notes

  • I noticed warnings related to automodules during the build process:

…les. I didnt address as I thought they were outside the scope of my task
@hendrikebbers hendrikebbers added the hacktoberfest-accepted Reserved for PRs that are accepted for Hacktoberfest (see https://hacktoberfest.com) 🚀👾🧑🏽‍💻 label Oct 22, 2024
@hendrikebbers
Copy link
Member

@ashleyfletcher76 thank you for that contribution!

@hendrikebbers hendrikebbers merged commit b66d53f into OpenElements:main Oct 22, 2024
@ashleyfletcher76 ashleyfletcher76 deleted the issue-43-topic-create-request-tests branch October 22, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted Reserved for PRs that are accepted for Hacktoberfest (see https://hacktoberfest.com) 🚀👾🧑🏽‍💻

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants