message: Create tests for frame_auth_success
diff: @@ -2,7 +2,7 @@ use FromCursor;
  use std::io::Cursor;
  /// `BodyReqAuthSuccess` is a frame that represents a successfull authentication response.
  -#[derive(Debug)]
  +#[derive(Debug, PartialEq)]
  pub struct BodyReqAuthSuccess {}
  impl FromCursor for BodyReqAuthSuccess {
  @@ -10,3 +10,18 @@ impl FromCursor for BodyReqAuthSuccess {
  BodyReqAuthSuccess {}
  }
  }
  +
  +#[cfg(test)]
  +mod tests {
  + use super::*;
  + use FromCursor;
  + use std::io::Cursor;
  +
  + #[test]
  + fn test_name() {
  + let rnd_bytes: Vec<u8> = vec![4, 5, 3, 8, 4, 6, 5, 0, 3, 7, 2];
  + let mut cursor = Cursor::new(rnd_bytes);
  + let body = BodyReqAuthSuccess::from_cursor(&mut cursor);
  + assert_eq!(body, BodyReqAuthSuccess{});
  + }
  +}
  